fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-28 20:51:59 +05:00
parent 91364014c1
commit c676a388bd
8 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
import redis.asyncio as redis
import os
r = None
async def init_redis():
global r
r = redis.Redis.from_url(
os.getenv("REDIS_URL", "redis://localhost"), decode_responses=True
)