This commit is contained in:
@@ -59,7 +59,7 @@ class RedisCache:
|
||||
|
||||
async def listen(self, channel):
|
||||
pubsub = self._client.pubsub()
|
||||
pubsub.subscribe(channel)
|
||||
await pubsub.subscribe(channel)
|
||||
|
||||
while True:
|
||||
message = pubsub.get_message()
|
||||
|
Reference in New Issue
Block a user