Browse Source

v2.8

pull/30/head
Aidaho12 6 years ago
parent
commit
3bf48cbdec
  1. 2
      app/tools/metrics_master.py
  2. 2
      app/tools/metrics_worker.py

2
app/tools/metrics_master.py

@ -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 = []

2
app/tools/metrics_worker.py

@ -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

Loading…
Cancel
Save