change time_out seconds to 90s,involve state query
This commit is contained in:
@ -179,7 +179,7 @@ class DefaultValue():
|
||||
TIMEOUT_CLUSTER_SWITCHRESET = 300
|
||||
|
||||
##
|
||||
TIMEOUT_PSSH_COMMON = 300
|
||||
TIMEOUT_PSSH_COMMON = 80
|
||||
###########################
|
||||
# pssh redis timeout value
|
||||
TIMEOUT_PSSH_REDIS = 604800
|
||||
|
@ -47,7 +47,7 @@ class SshTool():
|
||||
self.hostNames = hostNames
|
||||
self.__logFile = logFile
|
||||
self.__pid = os.getpid()
|
||||
self.__timeout = timeout + 30
|
||||
self.__timeout = timeout + 10
|
||||
self._finalizer = weakref.finalize(self, self.clenSshResultFiles)
|
||||
|
||||
currentTime = str(datetime.datetime.now()).replace(" ", "_").replace(
|
||||
|
Reference in New Issue
Block a user