Explorar o código

debug hypothesis: sleep

justheuristic %!s(int64=4) %!d(string=hai) anos
pai
achega
e6db7f0134
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      hivemind/p2p/p2p_daemon_bindings/control.py

+ 1 - 0
hivemind/p2p/p2p_daemon_bindings/control.py

@@ -106,6 +106,7 @@ class ControlClient:
 
         if use_persistent_conn:
             await control._ensure_persistent_conn()
+            await asyncio.sleep(0.4)
 
         return control