From a95e3ae86f346f90601798220512baaf00815f68 Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Thu, 16 Aug 2018 14:36:55 -0700 Subject: [PATCH] Increase connection timeout (#1485) * Increase connection timeout * Fix silliness --- src/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index 660320807f..8604c26deb 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -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 {