aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-10-16 22:05:13 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-10-16 22:05:13 +0200
commitc8457a6e48a384c8ae2f2d206558759bc12f519c (patch)
tree5ad79216fc0cc8df9782cfc777c995543d9eb7c2 /src/stores/AppStore.js
parentpolishing (diff)
downloadferdium-app-c8457a6e48a384c8ae2f2d206558759bc12f519c.tar.gz
ferdium-app-c8457a6e48a384c8ae2f2d206558759bc12f519c.tar.zst
ferdium-app-c8457a6e48a384c8ae2f2d206558759bc12f519c.zip
fix interval time
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r--src/stores/AppStore.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index 329c43f32..ca5cad836 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -135,7 +135,8 @@ export default class AppStore extends Store {
135 this.fetchDataInterval = setInterval(() => { 135 this.fetchDataInterval = setInterval(() => {
136 this.stores.user.getUserInfoRequest.invalidate({ immediately: true }); 136 this.stores.user.getUserInfoRequest.invalidate({ immediately: true });
137 this.stores.features.featuresRequest.invalidate({ immediately: true }); 137 this.stores.features.featuresRequest.invalidate({ immediately: true });
138 }, ms('10s')); 138 this.stores.news.latestNewsRequest.invalidate({ immediately: true });
139 }, ms('10m'));
139 140
140 // Check for updates once every 4 hours 141 // Check for updates once every 4 hours
141 setInterval(() => this._checkForUpdates(), CHECK_INTERVAL); 142 setInterval(() => this._checkForUpdates(), CHECK_INTERVAL);