race-fix10
This commit is contained in:
parent
48e01b1339
commit
86f47f5c6e
|
@ -58,6 +58,9 @@ async def load_chats(_, info, limit: int = 50, offset: int = 0):
|
||||||
|
|
||||||
for cid in cids:
|
for cid in cids:
|
||||||
async with lock:
|
async with lock:
|
||||||
|
print(cid)
|
||||||
|
all_chats = await redis.execute("GET", f"chats/{cid}")
|
||||||
|
print(all_chats)
|
||||||
c = await redis.execute("GET", f"chats/{cid}")
|
c = await redis.execute("GET", f"chats/{cid}")
|
||||||
print(f"GET result for chat {cid}: {c}") # Add this line
|
print(f"GET result for chat {cid}: {c}") # Add this line
|
||||||
if c:
|
if c:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user