change time_out seconds to 90s,involve state query

This commit is contained in:
Ricardo.Cui
2021-02-02 17:06:49 +08:00
parent 6641851b6a
commit a4dea03fb6
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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(