race-fix4

This commit is contained in:
2023-10-13 03:08:59 +03:00
parent 7b4524232b
commit 00d2066564
2 changed files with 4 additions and 4 deletions

View File

@@ -52,9 +52,9 @@ class RedisCache:
print(f"[redis] MGET {key} {keys}")
return await self._redis.mget(key, *keys)
def pipeline(self):
async def pipeline(self):
print(f"[redis] pipeline")
return self._redis.pipeline()
return await self._redis.pipeline()
redis = RedisCache()