pull/30/head
Aidaho12 6 years ago
parent cb803142d8
commit 3bf48cbdec

@ -20,7 +20,7 @@ class GracefulKiller:
def main(): def main():
sql.delete_mentrics() sql.delete_mentrics()
servers = sql.select_servers_metrics() servers = sql.select_servers_metrics_for_master()
started_workers = get_worker() started_workers = get_worker()
servers_list = [] servers_list = []

@ -43,7 +43,7 @@ def main(serv, port):
sql.insert_mentrics(serv, metrics[0], metrics[1], metrics[2], metrics[3]) sql.insert_mentrics(serv, metrics[0], metrics[1], metrics[2], metrics[3])
time.sleep(30) time.sleep(10)
if killer.kill_now: if killer.kill_now:
break break

Loading…
Cancel
Save