Improve periodic sync reliability and make it optional (#8647)

* Improve recordings sync reliability

* Cleanup

* Formatting

* Make logs consistent

* Make syncing optional
This commit is contained in:
Nicolas Mowen
2023-11-18 05:06:00 -07:00
committed by GitHub
parent 9ac40cd953
commit 2da99c2308
5 changed files with 55 additions and 37 deletions

View File

@@ -259,8 +259,8 @@ class RecordExportConfig(FrigateBaseModel):
class RecordConfig(FrigateBaseModel):
enabled: bool = Field(default=False, title="Enable record on all cameras.")
sync_on_startup: bool = Field(
default=False, title="Sync recordings with disk on startup."
sync_recordings: bool = Field(
default=False, title="Sync recordings with disk on startup and once a day."
)
expire_interval: int = Field(
default=60,