Method
isStaleRuntimeKeepAlive
(
sessionId: string,
key: RuntimeConfigKey,
payloadTime: number
)
Source from the content-addressed store, hash-verified
| 476 | } |
| 477 | |
| 478 | private isStaleRuntimeKeepAlive( |
| 479 | sessionId: string, |
| 480 | key: RuntimeConfigKey, |
| 481 | payloadTime: number |
| 482 | ): boolean { |
| 483 | const updatedAt = this.runtimeConfigUpdatedAtBySessionId.get(sessionId)?.[key] |
| 484 | return updatedAt !== undefined && payloadTime < updatedAt |
| 485 | } |
| 486 | |
| 487 | async renameSession(sessionId: string, name: string): Promise<void> { |
| 488 | const session = this.sessions.get(sessionId) |
Tested by
no test coverage detected