MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / updateSessionGapThreshold

Function updateSessionGapThreshold

packages/core/src/query/session-queries.ts:552–554  ·  view source on GitHub ↗
(db: DatabaseAdapter, gapThreshold: number | null)

Source from the content-addressed store, hash-verified

550 * Update gap threshold in meta table.
551 */
552export function updateSessionGapThreshold(db: DatabaseAdapter, gapThreshold: number | null): void {
553 db.prepare('UPDATE meta SET session_gap_threshold = ?').run(gapThreshold)
554}
555
556/**
557 * Update session owner_id in meta table.

Callers 1

Calls 2

runMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected