MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / updateSessionActivity

Method updateSessionActivity

server/src/db/si-db.ts:211–218  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

209 }
210
211 async updateSessionActivity(sessionId: string): Promise<void> {
212 await query(
213 `UPDATE si_sessions
214 SET last_activity_at = NOW(), message_count = message_count + 1
215 WHERE session_id = $1`,
216 [sessionId]
217 );
218 }
219
220 async updateSessionStatus(
221 sessionId: string,

Callers 1

addMessageMethod · 0.95

Calls 1

queryFunction · 0.85

Tested by

no test coverage detected