diff --git a/docs-site/launcher-script.md b/docs-site/launcher-script.md index 307a60eb..c40423f4 100644 --- a/docs-site/launcher-script.md +++ b/docs-site/launcher-script.md @@ -119,7 +119,7 @@ Unfinished sessions (a crash mid-playback) are skipped until the app finalizes t - **Activity** — live stage-by-stage progress, remote output, and a merge summary (sessions, words, kanji, rollups) when a run finishes. Runs can be cancelled, and guard failures offer a one-click `--force` retry. - **Snapshots** — create manual database snapshots (stored in `/tmp/subminer-db-snapshots/` by default), merge a snapshot file into the local database, or reveal/delete existing snapshots. -Hosts with **Auto-sync** enabled are synced in the background on a configurable interval (default every 30 minutes) whenever no mpv session or stats server is using the database; results surface as overlay notifications. Host bookkeeping lives in `/sync-hosts.json`. +Hosts with **Auto-sync** enabled are synced in the background on a configurable interval (default every 60 minutes) whenever no mpv session or stats server is using the database; results surface as overlay notifications. Host bookkeeping lives in `/sync-hosts.json`. ## Common Commands diff --git a/src/shared/sync/sync-hosts-store.test.ts b/src/shared/sync/sync-hosts-store.test.ts index a515d673..6460f321 100644 --- a/src/shared/sync/sync-hosts-store.test.ts +++ b/src/shared/sync/sync-hosts-store.test.ts @@ -27,7 +27,7 @@ function withTempDir(fn: (dir: string) => void): void { test('createDefaultSyncHostsState returns empty v1 state', () => { assert.deepEqual(createDefaultSyncHostsState(), { version: 1, - autoSyncIntervalMinutes: 30, + autoSyncIntervalMinutes: 60, hosts: [], }); }); diff --git a/src/shared/sync/sync-hosts-store.ts b/src/shared/sync/sync-hosts-store.ts index c326ce0c..f1d02911 100644 --- a/src/shared/sync/sync-hosts-store.ts +++ b/src/shared/sync/sync-hosts-store.ts @@ -34,7 +34,7 @@ export interface SyncResultUpdate { detail: string | null; } -const DEFAULT_AUTO_SYNC_INTERVAL_MINUTES = 30; +const DEFAULT_AUTO_SYNC_INTERVAL_MINUTES = 60; export function createDefaultSyncHostsState(): SyncHostsState { return {