This commit is contained in:
parent
14ef2af9c2
commit
8a255ef545
|
@ -27,6 +27,7 @@ ruff = { version = "^0.1.8", python = ">=3.12" }
|
|||
mypy = { version = "^1.7", python = ">=3.12" }
|
||||
isort = "^5.13.2"
|
||||
pyright = "^1.1.341"
|
||||
gprof2dot = "^2022.7.29"
|
||||
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user