Skip to content

Commit fa0853d

Browse files
mgmachadonhooyr
authored andcommitted
revert reconnect wait times
1 parent a898dd3 commit fa0853d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ci/dev/vscode.patch

+1-2
Original file line numberDiff line numberDiff line change
@@ -792,11 +792,10 @@ index fdd5890c69f72025b94913380f0d226226e8c8fb..e084236526b38c1144d47b8b3000b367
792792
const logPrefix = commonLogPrefix(this._connectionType, this.reconnectionToken, true);
793793
this._options.logService.info(`${logPrefix} starting reconnecting loop. You can get more information with the trace log level.`);
794794
- this._onDidStateChange.fire(new ConnectionLostEvent());
795-
- const TIMES = [5, 5, 10, 10, 10, 10, 10, 30];
796795
+ let suppressPopup = true;
797796
+ let forceDialog = false;
798797
+ this._onDidStateChange.fire(new ConnectionLostEvent(suppressPopup));
799-
+ const TIMES = [1, 2, 3, 10, 10, 10, 10, 30];
798+
const TIMES = [5, 5, 10, 10, 10, 10, 10, 30];
800799
+ const SHOW_POPUP_ON_ATTEMPT = 2 // aka third attempt
801800
+
802801
const disconnectStartTime = Date.now();

0 commit comments

Comments
 (0)