chore(app): improved API refresh times at about 31-32s

This commit is contained in:
2026-02-24 22:21:02 +01:00
parent 4f17b1a704
commit 26f2ced266
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ export const useApiStore = defineStore('apiStore', {
// Active data fefresh
if (t >= this.nextUpdateTime) {
this.fetchActiveData();
this.nextUpdateTime = t + 20000;
this.nextUpdateTime = t + 31000;
}
window.requestAnimationFrame(this.updateTick);
+1 -2
View File
@@ -61,8 +61,7 @@ const intervalId = ref(-1);
onActivated(() => {
fetchPlayerData();
intervalId.value = setInterval(fetchPlayerData, 30000);
intervalId.value = setInterval(fetchPlayerData, 32000);
});
onDeactivated(() => {