There was an error while loading. Please reload this page.
1 parent 1c37410 commit 3c26cd8Copy full SHA for 3c26cd8
1 file changed
mrq/scheduler.py
@@ -48,7 +48,6 @@ def sync_tasks(self, tasks):
48
# The date part will be discarded in check()
49
task["dailytime"] = datetime.datetime.combine(
50
datetime.datetime.utcnow(), task["dailytime"])
51
- if not task.get("interval"):
52
task["interval"] = 3600 * 24
53
54
self.collection.find_one_and_update({"hash": task["hash"]}, {"$set": task}, upsert=True)
0 commit comments