MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / read_batch_renew

Function read_batch_renew

src/store/store.c:277–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277static void read_batch_renew(cbm_store_t *s) {
278 if (!s->read_batch || cbm_now_ms() - s->read_batch_started_ms < ST_READ_BATCH_MS) {
279 return;
280 }
281 cbm_store_read_batch_end(s);
282 (void)cbm_store_read_batch_begin(s);
283}
284
285static sqlite3_stmt *prepare_cached(cbm_store_t *s, sqlite3_stmt **slot, const char *sql) {
286 if (!s || !s->db) {

Callers 2

prepare_cachedFunction · 0.85
node_scan_pageFunction · 0.85

Calls 3

cbm_now_msFunction · 0.85
cbm_store_read_batch_endFunction · 0.85

Tested by

no test coverage detected