File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
services/storage/src/simcore_service_storage/modules/celery Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import logging
2+ import ssl
23
34from celery import Celery # type: ignore[import-untyped]
45from settings_library .celery import CelerySettings
@@ -16,12 +17,14 @@ def create_app(celery_settings: CelerySettings) -> Celery:
1617 RedisDatabase .CELERY_TASKS ,
1718 ),
1819 )
20+ app .conf .broker_connection_retry_on_startup = True
21+ # NOTE: disable SSL cert validation (https://github.com/ITISFoundation/osparc-simcore/pull/7407)
22+ app .conf .redis_backend_use_ssl = {"ssl_cert_reqs" : ssl .CERT_NONE }
1923 app .conf .result_expires = celery_settings .CELERY_RESULT_EXPIRES
2024 app .conf .result_extended = True # original args are included in the results
2125 app .conf .result_serializer = "json"
2226 app .conf .task_send_sent_event = True
2327 app .conf .task_track_started = True
2428 app .conf .worker_send_task_events = True # enable tasks monitoring
25- app .conf .broker_connection_retry_on_startup = True
2629
2730 return app
You can’t perform that action at this time.
0 commit comments