Commit 88947f64 authored by Patrik Dufresne's avatar Patrik Dufresne

Fix background thread execution. TASK-1001

parent b21e524a
Pipeline #221 passed with stages
in 30 minutes
......@@ -473,7 +473,7 @@ class JobPlugin(IDeamonPlugin):
"""
now = datetime.datetime.now()
t = self._get_next_execution_time()
time.sleep(t - now)
time.sleep((t - now).seconds)
def _get_next_execution_time(self):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment