hussein-awala commented on code in PR #31028:
URL: https://github.com/apache/airflow/pull/31028#discussion_r1186664279
##########
airflow/config_templates/default_celery.py:
##########
@@ -20,13 +20,14 @@
import logging
import ssl
+import re
from airflow.configuration import conf
from airflow.exceptions import AirflowConfigException, AirflowException
def _broker_supports_visibility_timeout(url):
- return url.startswith("redis://") or url.startswith("sqs://") or
url.startswith("sentinel://")
+ return url.startswith(("redis://", "rediss://", "sqs://", "sentinel://"))
Review Comment:
👍
--
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]