increase auto update check period

This commit is contained in:
Joao Moreno
2016-07-13 12:58:00 +02:00
parent e03a964556
commit 82136bd865
+2 -2
View File
@@ -199,9 +199,9 @@ export class UpdateManager extends EventEmitter implements IUpdateService {
// Clear timer when checking for update
this.on('checking-for-update', () => clearTimeout(timer));
// If update not found, try again in 10 minutes
// If update not found, try again in 1 hour
this.on('update-not-available', () => {
timer = setTimeout(() => this.checkForUpdates(), 10 * 60 * 1000);
timer = setTimeout(() => this.checkForUpdates(), 60 * 60 * 1000);
});
}