mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
Fix time range for restart detection
This commit is contained in:
@@ -515,7 +515,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||
}
|
||||
*/
|
||||
this.logTelemetry('serviceExited');
|
||||
} else if (diff < 60 * 1000 /* 1 Minutes */) {
|
||||
} else if (diff < 60 * 1000 * 5 /* 5 Minutes */) {
|
||||
this.lastStart = Date.now();
|
||||
prompt = vscode.window.showWarningMessage<MyMessageItem>(
|
||||
localize('serverDied', 'The TypeScript language service died unexpectedly 5 times in the last 5 Minutes.'),
|
||||
|
||||
Reference in New Issue
Block a user