Reduce sleep duration in connection checks and main loop for improved responsiveness

1 parent 09b84901
......@@ -580,7 +580,7 @@ def check_connection():
if cfg['listen']:
continue
start_client(cfg)
sleep(5)
sleep(0.1) # 5
def check_job():
......@@ -675,7 +675,7 @@ def main_loop(conf_file):
check_connection()
check_job()
check_parser()
sleep(0.5)
sleep(0.1)
except KeyboardInterrupt:
out()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!