@ -20,7 +20,7 @@ class GracefulKiller:
def main():
sql.delete_mentrics()
servers = sql.select_servers_metrics()
servers = sql.select_servers_metrics_for_master()
started_workers = get_worker()
servers_list = []
@ -43,7 +43,7 @@ def main(serv, port):
sql.insert_mentrics(serv, metrics[0], metrics[1], metrics[2], metrics[3])
time.sleep(30)
time.sleep(10)
if killer.kill_now:
break