zmniejszenie czasu odpytywania z serwera

This commit is contained in:
2023-12-08 20:00:17 +01:00
parent e2b42d16a4
commit 59f4a0cb66
2 changed files with 157 additions and 86 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import { OnlineScenery, ScheduledTrain, StationJSONData, StoreState } from './ty
import { API } from '../typings/api';
import { Status } from '../typings/common';
const API_INTERVAL_MS = 30000;
const API_INTERVAL_MS = 20000;
export const useStore = defineStore('store', {
state: () =>