Skip to content

Commit

Permalink
migrate deprecated redis.close to redis.aclose
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-bartscher committed Apr 30, 2024
1 parent 8bb7361 commit 9141334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -2651,7 +2651,7 @@ async def close(self):
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:
Expand Down

0 comments on commit 9141334

Please sign in to comment.