Skip to content

Commit 93feff8

Browse files
Vectorrentmryab
authored andcommitted
address race condition
1 parent f396de0 commit 93feff8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hivemind/dht/dht.py

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def run_in_background(self, await_ready: bool = True, timeout: Optional[float] =
144144
is ready to process incoming requests or for :timeout: seconds max.
145145
"""
146146
self.start()
147+
self.get_visible_maddrs(True)
147148
if await_ready:
148149
self.wait_until_ready(timeout)
149150

0 commit comments

Comments
 (0)