Commit d1ef9b57 authored by 唐香港's avatar 唐香港

Update alarm_kafka_connect.py

parent 4f2c89c8
...@@ -77,7 +77,7 @@ def failure_callback(context): ...@@ -77,7 +77,7 @@ def failure_callback(context):
def get_kafka_connectors(cmd): def get_kafka_connectors(cmd):
logging.info('exec cmd:' + cmd) logging.info('exec cmd:' + cmd)
connectors_list = [] connectors_list = []
timeout = 10 timeout = 30
try: try:
result = run_command(cmd, timeout) result = run_command(cmd, timeout)
...@@ -100,7 +100,7 @@ def get_kafka_connectors(cmd): ...@@ -100,7 +100,7 @@ def get_kafka_connectors(cmd):
def get_connector_status(cmd): def get_connector_status(cmd):
logging.info('exec cmd: ' + cmd) logging.info('exec cmd: ' + cmd)
timeout = 10 timeout = 30
outdict = {} outdict = {}
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment