migrate deprecated redis.close to redis.aclose (#3199)

This commit is contained in:
benedikt-bartscher 2024-05-01 21:05:00 +02:00 committed by GitHub
parent fe731e385d
commit 73e9123733
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2651,7 +2651,7 @@ class StateManagerRedis(StateManager):
Note: Connections will be automatically reopened when needed.
"""
await self.redis.close(close_connection_pool=True)
await self.redis.aclose(close_connection_pool=True)
def get_state_manager() -> StateManager: