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
This commit is contained in:
Vladimir Starkov 2016-10-29 13:14:39 +02:00 committed by Guillermo Rauch
parent 6b385036d7
commit 7d05d0f148

View file

@ -25,7 +25,7 @@ function init() {
setInterval(() => { setInterval(() => {
autoUpdater.checkForUpdates(); autoUpdater.checkForUpdates();
}, ms('5m')); }, ms('30m'));
isInit = true; isInit = true;
} }