mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Formatting
This commit is contained in:
parent
54699d41db
commit
5966414691
@ -313,7 +313,9 @@ class FrigateApp:
|
|||||||
"cache_size": -512 * 1000, # 512MB of cache,
|
"cache_size": -512 * 1000, # 512MB of cache,
|
||||||
"synchronous": "NORMAL", # Safe when using WAL https://www.sqlite.org/pragma.html#pragma_synchronous
|
"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]
|
models = [Event, Recordings, Timeline]
|
||||||
self.db.bind(models)
|
self.db.bind(models)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user