Skip to content

Commit

Permalink
Update server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Nov 19, 2023
1 parent 85c314a commit 4351c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/extra_panels/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def init():

if "aioredis" in sys.modules:
# create redis pool
app[redis_key] = await aioredis.Redis("127.0.0.1", 6379)
app[redis_key] = await aioredis.Redis()
# Correct Redis shutdown
app.on_cleanup.append(close_redis)

Expand Down

0 comments on commit 4351c0b

Please sign in to comment.