conservative migration system

keep original repo name as possible if unknown node
This commit is contained in:
Dr.Lt.Data
2024-08-04 16:07:21 +09:00
parent 10055f578b
commit ea3413be9b
2 changed files with 50 additions and 47 deletions

View File

@@ -1722,7 +1722,8 @@ async def default_cache_update():
d = get_cache("alter-list.json")
e = get_cache("github-stats.json")
await asyncio.gather(a, b, c, d, e, core.check_need_to_migrate())
await asyncio.gather(a, b, c, d, e)
await core.check_need_to_migrate()
threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()