mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
Changes in timings, potentially breaking (hopefully not)
This commit is contained in:
parent
e291ac61b6
commit
753d01e63e
|
@ -347,7 +347,7 @@ async def scan_group(group: str):
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
return
|
return
|
||||||
except QueueEmpty:
|
except QueueEmpty:
|
||||||
await asyncio.sleep(10.0)
|
await asyncio.sleep(21.0)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
||||||
|
@ -358,7 +358,7 @@ async def wiki_scanner():
|
||||||
async for group, db_wikis in generate_domain_groups(): # First scan
|
async for group, db_wikis in generate_domain_groups(): # First scan
|
||||||
await rcqueue.start_group(group, db_wikis)
|
await rcqueue.start_group(group, db_wikis)
|
||||||
while True:
|
while True:
|
||||||
await asyncio.sleep(20.0)
|
await asyncio.sleep(19.0)
|
||||||
await rcqueue.update_queues()
|
await rcqueue.update_queues()
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
for item in rcqueue.domain_list.values(): # cancel running tasks
|
for item in rcqueue.domain_list.values(): # cancel running tasks
|
||||||
|
|
Loading…
Reference in a new issue