From d2a64195f2dc0de007f017d2a52d167555944c6c Mon Sep 17 00:00:00 2001 From: Luciferian Ink Date: Fri, 25 Oct 2024 19:53:02 -0500 Subject: [PATCH] address race condition --- hivemind/dht/dht.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hivemind/dht/dht.py b/hivemind/dht/dht.py index 85b371d1c..da022460c 100644 --- a/hivemind/dht/dht.py +++ b/hivemind/dht/dht.py @@ -144,6 +144,7 @@ def run_in_background(self, await_ready: bool = True, timeout: Optional[float] = is ready to process incoming requests or for :timeout: seconds max. """ self.start() + self.get_visible_maddrs(True) if await_ready: self.wait_until_ready(timeout)