소스 검색

AMBARI-18505. Ambari Status commands should enforce a timeout < heartbeat interval (aonishuk)

Andrew Onishuk 9 년 전
부모
커밋
2271eec9f5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ambari-agent/src/main/python/ambari_agent/ActionQueue.py

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/ActionQueue.py

@@ -87,7 +87,7 @@ class ActionQueue(threading.Thread):
     self.tmpdir = config.get('agent', 'prefix')
     self.customServiceOrchestrator = CustomServiceOrchestrator(config, controller)
     self.parallel_execution = config.get_parallel_exec_option()
-    self.status_command_timeout = int(self.config.get('agent', 'status_command_timeout', 5))
+    self.status_command_timeout = int(self.config.get('agent', 'status_command_timeout', 2))
     if self.parallel_execution == 1:
       logger.info("Parallel execution is enabled, will execute agent commands in parallel")