This commit is contained in:
parent
3e0f7b0521
commit
d62e229f63
|
@ -34,6 +34,7 @@ async def handle_notification(n: ServiceMessage, channel: str):
|
|||
|
||||
|
||||
async def listen_task(pattern):
|
||||
logger.info(f' listening {pattern} ...')
|
||||
async for message_data, channel in redis.listen(pattern):
|
||||
try:
|
||||
if message_data:
|
||||
|
|
Loading…
Reference in New Issue
Block a user