mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
increase auto update check period
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user