Skip to content

Commit

Permalink
Increase connection timeout (#1485)
Browse files Browse the repository at this point in the history
* Increase connection timeout

* Fix silliness
  • Loading branch information
rjmholt authored and TylerLeonhardt committed Aug 16, 2018
1 parent 0f54035 commit a95e3ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ export function waitForSessionFile(sessionFilePath: string, callback: IWaitForSe
}
}

// Try once per second for 60 seconds, one full minute
innerTryFunc(60, 1000);
// Try once every 2 seconds, 60 times - making two full minutes
innerTryFunc(60, 2000);
}

export function readSessionFile(sessionFilePath: string): IEditorServicesSessionDetails {
Expand Down

0 comments on commit a95e3ae

Please sign in to comment.