aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-10-24 13:32:07 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-10-24 13:32:19 +0200
commitf4b2e88a2572359f0911f3a189a2275b57f81fdb (patch)
treea42158aec180f3b6652ad0da7f2c319a4d4474f5 /src/stores/AppStore.js
parentImprove recipe bulk download (diff)
downloadferdium-app-f4b2e88a2572359f0911f3a189a2275b57f81fdb.tar.gz
ferdium-app-f4b2e88a2572359f0911f3a189a2275b57f81fdb.tar.zst
ferdium-app-f4b2e88a2572359f0911f3a189a2275b57f81fdb.zip
Fix recipe update loop
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r--src/stores/AppStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index 8435c9ab8..7dbef985d 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -80,7 +80,7 @@ export default class AppStore extends Store {
80 // Check for updates once every 4 hours 80 // Check for updates once every 4 hours
81 setInterval(() => this._checkForUpdates(), CHECK_INTERVAL); 81 setInterval(() => this._checkForUpdates(), CHECK_INTERVAL);
82 // Check for an update in 30s (need a delay to prevent Squirrel Installer lock file issues) 82 // Check for an update in 30s (need a delay to prevent Squirrel Installer lock file issues)
83 setTimeout(() => this._checkForUpdates(), 3000); 83 setTimeout(() => this._checkForUpdates(), 30000);
84 ipcRenderer.on('autoUpdate', (event, data) => { 84 ipcRenderer.on('autoUpdate', (event, data) => {
85 if (data.available) { 85 if (data.available) {
86 this.updateStatus = this.updateStatusTypes.AVAILABLE; 86 this.updateStatus = this.updateStatusTypes.AVAILABLE;