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:
Christoph Reiter
2022-01-23 10:53:15 +01:00
parent 9b7060faa5
commit 6ba3c8bfca

View File

@@ -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)