redis-fixes
Some checks failed
Deploy on push / deploy (push) Failing after 9s

This commit is contained in:
Untone 2024-08-08 17:55:34 +03:00
parent 69a848d6a7
commit ff9c0a0b82

View File

@ -57,6 +57,12 @@ class RedisService:
return
await self._client.publish(channel, data)
async def set(self, key, data):
await self.execute("set", key, data)
async def get(self, key, data):
return await self.execute("set", key)
redis = RedisService()