From 82136bd865386e28fff89882f3b5adea87d60a03 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Wed, 13 Jul 2016 12:58:00 +0200 Subject: [PATCH] increase auto update check period --- src/vs/code/electron-main/update-manager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/code/electron-main/update-manager.ts b/src/vs/code/electron-main/update-manager.ts index d83fd0828c4..89b977293e2 100644 --- a/src/vs/code/electron-main/update-manager.ts +++ b/src/vs/code/electron-main/update-manager.ts @@ -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); }); }