We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d91e4a commit 7b26c6fCopy full SHA for 7b26c6f
services/storage/src/simcore_service_storage/modules/celery/_common.py
@@ -19,7 +19,8 @@ def create_app(celery_settings: CelerySettings) -> Celery:
19
)
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}
+ if celery_settings.CELERY_REDIS_RESULT_BACKEND.REDIS_SECURE:
23
+ app.conf.redis_backend_use_ssl = {"ssl_cert_reqs": ssl.CERT_NONE}
24
app.conf.result_expires = celery_settings.CELERY_RESULT_EXPIRES
25
app.conf.result_extended = True # original args are included in the results
26
app.conf.result_serializer = "json"
0 commit comments