summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-05-11 04:19:26 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-05-11 04:19:26 +0300
commit883f3181392b1f46c9299cf28396cf635c8ac492 (patch)
tree777790f8dae8b8b0194240614dae5dd7fdf9c227
parent35264a38bfb53820dd563edd22e27b7962068a6e (diff)
parent1c7aa8f9a3d8eb37688c67e1bf87a35ba63d55bb (diff)
Merge branch 'master' of ch1p.io:homekit
-rwxr-xr-xsrc/ipcam_server.py4
1 files 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