Parcourir la source

Improve docstring

Aleksandr Borzunov il y a 4 ans
Parent
commit
411981e46e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      hivemind/dht/__init__.py

+ 1 - 0
hivemind/dht/__init__.py

@@ -285,6 +285,7 @@ class DHT(mp.Process):
     async def replicate_p2p(self) -> P2P:
         """
         Get a replica of a P2P instance used in the DHT process internally.
+        The replica uses the same P2P daemon as the DHT and only works while DHT is alive.
         """
 
         if self._p2p_replica is None: