MCPcopy Create free account
hub / github.com/cmoog/vscode-sql-notebook / getQueryTimeoutConfiguration

Function getQueryTimeoutConfiguration

src/commands.ts:150–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148}
149
150function getQueryTimeoutConfiguration(): number {
151 const defaultTimeout = 30000; // make this the same as the package.json-level configuration default
152 return (
153 vscode.workspace.getConfiguration('SQLNotebook').get('queryTimeout') ??
154 defaultTimeout
155 );
156}

Callers 1

connectToDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected