Add read-only NAS and WebDAV photo sources with random scheduling
This commit is contained in:
@@ -48,6 +48,9 @@ class Settings:
|
||||
"FONT_PATH", "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc"
|
||||
)
|
||||
)
|
||||
photo_root: Path = field(
|
||||
default_factory=lambda: Path(os.getenv("PHOTO_ROOT", "/photos"))
|
||||
)
|
||||
max_bytes: int = 20 * 1024 * 1024
|
||||
idempotency_hours: int = 168
|
||||
sync_timeout: int = 600
|
||||
|
||||
Reference in New Issue
Block a user