Browse Source

Add missing sleep

Tulir Asokan 2 years ago
parent
commit
496c065705
1 changed files with 1 additions and 0 deletions
  1. 1 0
      mauigpapi/proxy.py

+ 1 - 0
mauigpapi/proxy.py

@@ -103,5 +103,6 @@ async def proxy_with_retry(
                 name,
                 name,
                 wait,
                 wait,
             )
             )
+            await asyncio.sleep(wait)
             if errors > 1 and proxy_handler.update_proxy_url():
             if errors > 1 and proxy_handler.update_proxy_url():
                 await on_proxy_change()
                 await on_proxy_change()