MCPcopy Create free account
hub / github.com/tiann/hapi / markRuntimeConfigUpdated

Method markRuntimeConfigUpdated

hub/src/sync/sessionCache.ts:468–476  ·  view source on GitHub ↗
(
        sessionId: string,
        key: RuntimeConfigKey,
        at: number
    )

Source from the content-addressed store, hash-verified

466 }
467
468 private markRuntimeConfigUpdated(
469 sessionId: string,
470 key: RuntimeConfigKey,
471 at: number
472 ): void {
473 const existing = this.runtimeConfigUpdatedAtBySessionId.get(sessionId) ?? {}
474 existing[key] = at
475 this.runtimeConfigUpdatedAtBySessionId.set(sessionId, existing)
476 }
477
478 private isStaleRuntimeKeepAlive(
479 sessionId: string,

Callers 1

applySessionConfigMethod · 0.95

Calls 1

getMethod · 0.80

Tested by

no test coverage detected