this really is more balanced scheduling of jobs
This commit is contained in:
parent
2a2f1347e8
commit
96a0ff22ab
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class Linspector(threading.Thread):
|
||||||
for service in hostgroup.get_services():
|
for service in hostgroup.get_services():
|
||||||
for host in hostgroup.get_hosts():
|
for host in hostgroup.get_hosts():
|
||||||
for period in service.get_periods():
|
for period in service.get_periods():
|
||||||
time_delta += 2
|
time_delta += 2.315379
|
||||||
new_start_date = start_date + datetime.timedelta(seconds=time_delta)
|
new_start_date = start_date + datetime.timedelta(seconds=time_delta)
|
||||||
job = Job(service,
|
job = Job(service,
|
||||||
host,
|
host,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue