mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-10 16:46:06 -08:00
feat(sync-ui): default auto-sync interval 60 minutes
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -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: [],
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user