refactor(config): Set correct default sync interval and documentation
The default synchronization interval has been updated across the application to reflect a standard 30-minute delay (1800 seconds). This change updates both the source code configuration and the README documentation, ensuring that users rely on the accurate default value when no environment variable is provided. - Updated SYNC_INTERVAL_SECONDS default in src/main.py - Clarified single-run behavior in README.md
This commit is contained in:
@@ -37,8 +37,8 @@ Optional environment variables:
|
||||
- `ALBUM_SEPARATOR`: Separator for `relative` mode; defaults to ` - `
|
||||
- `PAGE_SIZE`: Immich search page size; defaults to `1000`
|
||||
- `DRY_RUN`: Set to `true` to log planned work without changing albums
|
||||
- `SYNC_INTERVAL_SECONDS`: Delay between runs; `0` runs once and exits.
|
||||
Docker Compose defaults to `1800` seconds (30 minutes)
|
||||
- `SYNC_INTERVAL_SECONDS`: Delay between runs; defaults to `1800` seconds
|
||||
(30 minutes). Set it to `0` for a single run
|
||||
|
||||
Run the script after Immich has scanned the external library:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user