MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / persistStartupTimeout

Function persistStartupTimeout

src/settings/lspServerDetail.js:484–490  ·  view source on GitHub ↗
(serverId, timeout)

Source from the content-addressed store, hash-verified

482}
483
484async function persistStartupTimeout(serverId, timeout) {
485 await updateServerConfig(serverId, { startupTimeout: timeout });
486 lspApi.servers.update(serverId, (current) => ({
487 ...current,
488 startupTimeout: timeout,
489 }));
490}
491
492async function persistInitOptions(serverId, value) {
493 await updateServerConfig(serverId, { initializationOptions: value });

Callers 1

callbackFunction · 0.85

Calls 2

updateServerConfigFunction · 0.90
updateMethod · 0.45

Tested by

no test coverage detected