fix(network): apply connection timeout in server and extension hosts

Complete the runtime entrypoints from #3404 without changing address-family selection.
This commit is contained in:
Bohdan Triapitsyn
2026-09-07 20:37:46 +03:00
parent 5ae1a949c8
commit 45bc61f8f9
7 changed files with 74 additions and 0 deletions
+2
View File
@@ -7,6 +7,7 @@ import { startGlobalEventWatcher, stopGlobalEventWatcher, setChatViewProvider }
import { pathsEqualWithNormalizedDriveLetter } from './pathUtils';
import { resolveWorkspaceFolders } from './workspaceResolver';
import { InlineCommentThreads, SIDEBAR_SURFACE_ID } from './InlineCommentThreads';
import { applyConnectAttemptTimeout } from './networkDefaults';
let chatViewProvider: ChatViewProvider | undefined;
@@ -52,6 +53,7 @@ const formatDurationMs = (value: number | null | undefined) => {
};
export async function activate(context: vscode.ExtensionContext) {
applyConnectAttemptTimeout();
outputChannel = vscode.window.createOutputChannel('OpenChamber');
let moveToRightSidebarScheduled = false;