fixed layout name in migration ('audio' -> 'music') (#89)

Co-authored-by: Igor Lobanov <igor.lobanov@onetwotrip.com>
This commit is contained in:
Ilya Y
2023-10-10 16:37:28 +03:00
committed by GitHub
parent 889f802429
commit de04c47120
4 changed files with 6 additions and 6 deletions

View File

@@ -25,17 +25,17 @@ class RedisCache:
while not self._instance:
await sleep(1)
try:
print("[redis] " + command + ' ' + ' '.join(args))
# print("[redis] " + command + ' ' + ' '.join(args))
return await self._instance.execute_command(command, *args, **kwargs)
except Exception:
pass
async def lrange(self, key, start, stop):
print(f"[redis] LRANGE {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}")
# print(f"[redis] MGET {key} {keys}")
return await self._instance.mget(key, *keys)