sleep-fix
All checks were successful
deploy / deploy (push) Successful in 1m15s

This commit is contained in:
2023-12-23 21:21:40 +03:00
parent 14ef2af9c2
commit 8a255ef545
2 changed files with 2 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ class RedisCache:
yield json.loads(message["data"]), message.get("channel")
except Exception as e:
print(f"[servoces.rediscache] Error: {e}")
await asyncio.sleep(1)
redis = RedisCache()