search-messages

This commit is contained in:
2022-12-05 12:48:21 +03:00
parent 058fdcc64f
commit 35f540b26a
4 changed files with 51 additions and 43 deletions

View File

@@ -31,9 +31,11 @@ class RedisCache:
pass
async def lrange(self, key, start, stop):
print(f"[redis] LRANGE {key} {start} {stop}")
return await self._instance.lrange(key, start, stop)
async def mget(self, key, *keys):
print(f"[redis] MGET {key} {keys}")
return await self._instance.mget(key, *keys)