We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8532eab commit d1936ebCopy full SHA for d1936eb
services/storage/src/simcore_service_storage/core/application.py
@@ -90,10 +90,9 @@ def create_app(settings: ApplicationSettings) -> FastAPI: # noqa: C901
90
setup_s3(app)
91
setup_client_session(app)
92
93
- if not settings.STORAGE_WORKER_MODE:
+ if settings.STORAGE_CELERY and not settings.STORAGE_WORKER_MODE:
94
setup_rabbitmq(app)
95
96
- assert settings.STORAGE_CELERY # nosec
97
setup_task_manager(app, celery_settings=settings.STORAGE_CELERY)
98
99
setup_rpc_routes(app)
0 commit comments