瀏覽代碼

Update docstrings

Aleksandr Borzunov 2 年之前
父節點
當前提交
74c1b1129b
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/server/server.py

+ 3 - 3
src/server/server.py

@@ -30,8 +30,8 @@ logger = get_logger(__file__)
 
 class Server(threading.Thread):
     """
-    Runs Server, periodically checks that the network is balanced,
-    restarts the Server with other layers if the imbalance is significant
+    Runs ModuleContainer, periodically checks that the network is balanced,
+    restarts the ModuleContainer with other layers if the imbalance is significant
     """
 
     def __init__(
@@ -243,7 +243,7 @@ class ModuleContainer(threading.Thread):
     def run(self):
         """
         Runs ModuleContainer in the current thread. Initializes dht if necessary, starts connection handlers,
-        runs Runtime (self.runtime) to process incoming requests.
+        runs hivemind.Runtime (self.runtime) to process incoming requests.
         """
         logger.info(f"Serving {len(self.module_backends)} blocks:")
         for expert_name, backend in self.module_backends.items():