From e8f4478bfcfdececbdba44b22332f7eba8579edf Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 29 Apr 2023 11:42:15 +0300 Subject: ipcam_server: fix aio tasks --- src/ipcam_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ipcam_server.py b/src/ipcam_server.py index 077dba6..8d91ce1 100755 --- a/src/ipcam_server.py +++ b/src/ipcam_server.py @@ -565,9 +565,9 @@ if __name__ == '__main__': try: scheduler = AsyncIOScheduler(event_loop=loop) if config['fix_enabled']: - scheduler.add_job(fix_job, 'interval', seconds=config['fix_interval']) + scheduler.add_job(fix_job, 'interval', seconds=config['fix_interval'], misfire_grace_time=None) - scheduler.add_job(cleanup_job, 'interval', seconds=config['cleanup_interval']) + scheduler.add_job(cleanup_job, 'interval', seconds=config['cleanup_interval'], misfire_grace_time=None) scheduler.start() except KeyError: pass -- cgit v1.2.3