Skip to content

Commit

Permalink
Revert "Delay the start-up of the shared process (saves ~40-90ms on s…
Browse files Browse the repository at this point in the history
…tartup)"

This reverts commit b712555.
  • Loading branch information
alexdima authored and joaomoreno committed Jan 10, 2018
1 parent 0ea5279 commit 06c14bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/code/electron-main/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export class CodeApplication {
// Spawn shared process
this.sharedProcess = new SharedProcess(this.environmentService, machineId, this.userEnv);
this.toDispose.push(this.sharedProcess);
this.sharedProcessClient = TPromise.timeout(5000).then(() => this.sharedProcess.whenReady()).then(() => connect(this.environmentService.sharedIPCHandle, 'main'));
this.sharedProcessClient = this.sharedProcess.whenReady().then(() => connect(this.environmentService.sharedIPCHandle, 'main'));

// Services
const appInstantiationService = this.initServices(machineId);
Expand Down

0 comments on commit 06c14bd

Please sign in to comment.