Various: Make clients wait a second between connects (#5061)
This commit is contained in:
committed by
GitHub
parent
332f955159
commit
8bb236411d
@@ -333,6 +333,7 @@ async def nes_sync_task(ctx: ZeldaContext):
|
||||
except ConnectionRefusedError:
|
||||
logger.debug("Connection Refused, Trying Again")
|
||||
ctx.nes_status = CONNECTION_REFUSED_STATUS
|
||||
await asyncio.sleep(1)
|
||||
continue
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user