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 a0a5f18 commit ececacdCopy full SHA for ececacd
services/autoscaling/src/simcore_service_autoscaling/modules/redis.py
@@ -15,10 +15,9 @@ async def on_startup() -> None:
15
app.state.redis_client_sdk = None
16
settings: RedisSettings = app.state.settings.AUTOSCALING_REDIS
17
redis_locks_dsn = settings.build_redis_dsn(RedisDatabase.LOCKS)
18
- app.state.redis_client_sdk = client = RedisClientSDK(
+ app.state.redis_client_sdk = RedisClientSDK(
19
redis_locks_dsn, client_name=APP_NAME
20
)
21
- await client.setup()
22
23
async def on_shutdown() -> None:
24
redis_client_sdk: None | RedisClientSDK = app.state.redis_client_sdk
0 commit comments