ソースを参照

Allow cluster commands in intervals

Mark Mine 21 年 前
コミット
cf19a755de
1 ファイル変更2 行追加0 行削除
  1. 2 0
      direct/src/cluster/ClusterClient.py

+ 2 - 0
direct/src/cluster/ClusterClient.py

@@ -13,6 +13,8 @@ class ClusterClient(DirectObject.DirectObject):
     MGR_NUM = 1000000
 
     def __init__(self, configList, clusterSyncFlag):
+        # Set name so cluster __call__ function can be used in Intervals
+        self.__name__ = 'cluster'
         # First start up servers using direct daemon
         # What is the name of the client machine?
         clusterDaemonClient = base.config.GetString(