We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c8ddc8 commit 16c9edcCopy full SHA for 16c9edc
main.py
@@ -202,7 +202,7 @@ def invalid_queue(gid_uid):
202
async def check_idle_verification():
203
for gu, ts in redis_client.hgetall("queue").items():
204
time.sleep(random.random())
205
- if time.time() - int(ts) > IDLE_SECONDS:
+ if time.time() - float(ts) > IDLE_SECONDS:
206
logging.info("Idle verification for %s", gu)
207
with contextlib.suppress(Exception):
208
await delete_captcha(gu)
0 commit comments