updated config sync timing

This commit is contained in:
Eugene Pankov
2021-07-27 20:43:00 +02:00
parent 744e731a22
commit ae8c0128cb
2 changed files with 2 additions and 1 deletions

View File

@@ -80,6 +80,7 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
.form-line .form-line
.header .header
.title Sync automatically .title Sync automatically
.description Automatically upload changes and check for updates every minute
toggle( toggle(
[(ngModel)]='config.store.configSync.auto', [(ngModel)]='config.store.configSync.auto',

View File

@@ -173,7 +173,7 @@ export class ConfigSyncService {
this.lastRemoteChange = new Date(cfg.modified_at) this.lastRemoteChange = new Date(cfg.modified_at)
} }
} }
await new Promise(resolve => setTimeout(resolve, 5000)) await new Promise(resolve => setTimeout(resolve, 60000))
} }
} }
} }