log2
This commit is contained in:
parent
580cb562d9
commit
22a529e866
|
@ -36,7 +36,7 @@ async def messages_routing(msg, state):
|
|||
pattern = f"toxic:{cid}:{uid}:*"
|
||||
scores = []
|
||||
found = await redis.scan_iter(pattern)
|
||||
logger.debug(f'found {len(found) messages}')
|
||||
logger.debug(f'found {len(found)} messages')
|
||||
for key in found:
|
||||
scr = await redis.get(key)
|
||||
if isinstance(scr, int):
|
||||
|
|
Loading…
Reference in New Issue
Block a user