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 1771429 commit 4eea09eCopy full SHA for 4eea09e
services/web/server/src/simcore_service_webserver/redis.py
@@ -43,6 +43,7 @@ async def setup_redis_client(app: web.Application):
43
RedisDatabase.USER_NOTIFICATIONS,
44
RedisDatabase.ANNOUNCEMENTS,
45
RedisDatabase.DOCUMENTS,
46
+ RedisDatabase.CELERY_TASKS,
47
)
48
},
49
settings=redis_settings,
@@ -114,6 +115,10 @@ def get_redis_announcements_client(app: web.Application) -> aioredis.Redis:
114
115
return redis_client
116
117
118
+def get_redis_celery_tasks_client_sdk(app: web.Application) -> RedisClientSDK:
119
+ return _get_redis_client_sdk(app, RedisDatabase.CELERY_TASKS)
120
+
121
122
# PLUGIN SETUP --------------------------------------------------------------------------
123
124
0 commit comments