Skip to content

Commit c21c87c

Browse files
fix: enable rabbitmq even if celery is disabled
1 parent ad768be commit c21c87c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/storage/src/simcore_service_storage/core/application.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def create_app(settings: ApplicationSettings) -> FastAPI: # noqa: C901
7373
if settings.STORAGE_CELERY:
7474
setup_task_manager(app, settings=settings.STORAGE_CELERY)
7575

76-
if not settings.STORAGE_WORKER_MODE:
77-
setup_rabbitmq(app)
78-
setup_rpc_routes(app)
76+
if not settings.STORAGE_WORKER_MODE:
77+
setup_rabbitmq(app)
78+
setup_rpc_routes(app)
7979

8080
setup_rest_api_routes(app, API_VTAG)
8181
set_exception_handlers(app)

0 commit comments

Comments
 (0)