Formatting

This commit is contained in:
Nick Mowen 2023-06-06 08:24:51 -06:00
parent 183b1e7126
commit 4ad2f62ba8
2 changed files with 4 additions and 4 deletions

View File

@ -210,7 +210,7 @@ class FrigateApp:
pragmas={ pragmas={
"auto_vacuum": "FULL", # Does not defragment database "auto_vacuum": "FULL", # Does not defragment database
"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=60, timeout=60,
) )

View File

@ -42,7 +42,7 @@ def manage_recordings(
pragmas={ pragmas={
"auto_vacuum": "FULL", # Does not defragment database "auto_vacuum": "FULL", # Does not defragment database
"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=60, timeout=60,
) )