Hotfix: zbyt szybkie odświeżanie scenerii

This commit is contained in:
2022-01-01 20:32:35 +01:00
parent a214f0b47a
commit be92665b65
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ export const store = createStore<State>({
commit(MUTATIONS.SET_SCENERY_DATA_STATUS, DataStatus.Loaded);
dispatch(ACTIONS.fetchOnlineData);
setInterval(() => dispatch(ACTIONS.fetchOnlineData), Math.floor(Math.random() * 5000) + 2500);
setInterval(() => dispatch(ACTIONS.fetchOnlineData), Math.floor(Math.random() * 5000) + 25000);
},
async fetchOnlineData({ commit, dispatch }) {