Browse Source

Allow cluster commands in intervals

Mark Mine 21 years ago
parent
commit
cf19a755de
1 changed files with 2 additions and 0 deletions
  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
     MGR_NUM = 1000000
 
 
     def __init__(self, configList, clusterSyncFlag):
     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
         # First start up servers using direct daemon
         # What is the name of the client machine?
         # What is the name of the client machine?
         clusterDaemonClient = base.config.GetString(
         clusterDaemonClient = base.config.GetString(