From 96a0ff22abc38096318a52adb723400d4a75ba5d Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sun, 27 Oct 2013 00:54:17 +0200 Subject: [PATCH] this really is more balanced scheduling of jobs --- linspector/linspector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linspector/linspector.py b/linspector/linspector.py index 7dccf50..81eb654 100644 --- a/linspector/linspector.py +++ b/linspector/linspector.py @@ -51,7 +51,7 @@ class Linspector(threading.Thread): for service in hostgroup.get_services(): for host in hostgroup.get_hosts(): for period in service.get_periods(): - time_delta += 2 + time_delta += 2.315379 new_start_date = start_date + datetime.timedelta(seconds=time_delta) job = Job(service, host,