From 7d05d0f14894eb5ff315f0c05ed3057905014880 Mon Sep 17 00:00:00 2001 From: Vladimir Starkov Date: Sat, 29 Oct 2016 13:14:39 +0200 Subject: [PATCH] increase timeout for update checks (#928) * increase timeout for update checks It seems like, there are lots of them and GitHub is not happy. So increasing timeout 6x should fix that. In the end there is no need to check updates every 5 minutes. Fix #880 * restore check updates on start --- app/auto-updater.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/auto-updater.js b/app/auto-updater.js index fd4aa95d..215a5bfe 100644 --- a/app/auto-updater.js +++ b/app/auto-updater.js @@ -25,7 +25,7 @@ function init() { setInterval(() => { autoUpdater.checkForUpdates(); - }, ms('5m')); + }, ms('30m')); isInit = true; }