fetch: wait 5 seconds after we get triggered via the api
it seems sometimes we update things at github, but it takes some time until our server sees the new version, so wait a bit.
This commit is contained in:
@@ -395,3 +395,5 @@ async def update_loop() -> None:
|
||||
traceback.print_exc(file=sys.stdout)
|
||||
print("Waiting for next update")
|
||||
await wait_for_update()
|
||||
# XXX: it seems some updates don't propagate right away, so wait a bit
|
||||
await asyncio.sleep(5)
|
||||
|
||||
Reference in New Issue
Block a user