ashb commented on code in PR #46265:
URL: https://github.com/apache/airflow/pull/46265#discussion_r1934764991


##########
providers/celery/src/airflow/providers/celery/executors/default_celery.py:
##########
@@ -81,6 +82,9 @@ def _broker_supports_visibility_timeout(url):
     "task_track_started": conf.getboolean("celery", "task_track_started", 
fallback=True),
     "broker_url": broker_url,
     "broker_transport_options": broker_transport_options,
+    "broker_connection_retry_on_startup": conf.getboolean(
+        "celery", "broker_connection_retry_on_startup", fallback=True

Review Comment:
   This silences a warning on Celery 5.4



##########
providers/celery/src/airflow/providers/celery/executors/default_celery.py:
##########
@@ -126,9 +135,7 @@ def _get_celery_ssl_active() -> bool:
         DEFAULT_CELERY_CONFIG["broker_use_ssl"] = broker_use_ssl
 except AirflowConfigException:
     raise AirflowException(
-        "AirflowConfigException: SSL_ACTIVE is True, "
-        "please ensure SSL_KEY, "
-        "SSL_CERT and SSL_CACERT are set"
+        "AirflowConfigException: SSL_ACTIVE is True, please ensure SSL_KEY, 
SSL_CERT and SSL_CACERT are set"

Review Comment:
   Ditto, ruff did it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to