This is an automated email from the ASF dual-hosted git repository.

dstandish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new d03ba594b3 Use debug level for minischeduler skip (#38976)
d03ba594b3 is described below

commit d03ba594b3158c127c1c1b3f1d0c31fb93104367
Author: Daniel Standish <[email protected]>
AuthorDate: Fri Apr 12 16:04:16 2024 -0700

    Use debug level for minischeduler skip (#38976)
    
    Now that we are using nowait, it will be more common that the minicheduler 
skips.  Leaving it at info level will cause unnecessary alarm to users.
---
 airflow/models/taskinstance.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/models/taskinstance.py b/airflow/models/taskinstance.py
index 1d0319c0cd..2b8b935d78 100644
--- a/airflow/models/taskinstance.py
+++ b/airflow/models/taskinstance.py
@@ -3563,7 +3563,7 @@ class TaskInstance(Base, LoggingMixin):
 
         except OperationalError as e:
             # Any kind of DB error here is _non fatal_ as this block is just 
an optimisation.
-            cls.logger().info(
+            cls.logger().debug(
                 "Skipping mini scheduling run due to exception: %s",
                 e.statement,
                 exc_info=True,

Reply via email to