diff --git a/src/stores/api.store.ts b/src/stores/api.store.ts index 5fcb907..e19c4a4 100644 --- a/src/stores/api.store.ts +++ b/src/stores/api.store.ts @@ -43,9 +43,9 @@ export const useApiStore = defineStore('api', { this.fetchSceneriesData(); this.fetchActiveData(); - // setInterval(() => { - // this.fetchActiveData(); - // }, 20000); + setInterval(() => { + this.fetchActiveData(); + }, 25000); }, async fetchActiveData() { @@ -60,7 +60,7 @@ export const useApiStore = defineStore('api', { this.outdatedTimerId = setTimeout(() => { this.isActiveDataOutdated = true; - }, 30000); + }, 60000); } catch (error) { console.error(error); }