ensure we sync settings whilst tab is open
This commit is contained in:
parent
80f58baa86
commit
7df49720de
4 changed files with 8872 additions and 9296 deletions
|
@ -1,9 +1,10 @@
|
|||
import { promiseInterval } from '../promise_interval/promise_interval.js'
|
||||
|
||||
const startFetching = ({ credentials, store }) => {
|
||||
console.log('startFetching: Config')
|
||||
const boundFetchAndUpdate = () => store.dispatch('getSettingsProfile')
|
||||
boundFetchAndUpdate()
|
||||
return promiseInterval(boundFetchAndUpdate, 5 * 60000)
|
||||
return promiseInterval(boundFetchAndUpdate, 10 * 60000)
|
||||
}
|
||||
|
||||
const configFetcher = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue