diff --git a/frigate/app.py b/frigate/app.py index 8739030fb..eca56f49f 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -313,7 +313,9 @@ class FrigateApp: "cache_size": -512 * 1000, # 512MB of cache, "synchronous": "NORMAL", # Safe when using WAL https://www.sqlite.org/pragma.html#pragma_synchronous }, - timeout=max(60, 10 * len([c for c in self.config.cameras.values() if c.enabled])), + timeout=max( + 60, 10 * len([c for c in self.config.cameras.values() if c.enabled]) + ), ) models = [Event, Recordings, Timeline] self.db.bind(models)