From 87d14134f8b9cc61218e096e95ecaae55ffd7882 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 27 Sep 2019 14:51:53 +0200 Subject: [PATCH] Increased cron check frequency to support seconds granularity --- platypush/cron/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/cron/scheduler.py b/platypush/cron/scheduler.py index b38c2a537..9fd40b9ed 100644 --- a/platypush/cron/scheduler.py +++ b/platypush/cron/scheduler.py @@ -81,7 +81,7 @@ class CronScheduler(Thread): if job.should_run(): job.start() - time.sleep(60) + time.sleep(0.5) # vim:sw=4:ts=4:et: