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

Function cbm_watcher_poll_interval_ms

src/watcher/watcher.c:207–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207int cbm_watcher_poll_interval_ms(int file_count) {
208 int ms = POLL_BASE_MS + ((file_count / POLL_FILE_STEP) * CBM_MSEC_PER_SEC);
209 if (ms > POLL_MAX_MS) {
210 ms = POLL_MAX_MS;
211 }
212 return ms;
213}
214
215/* ── Git helpers ────────────────────────────────────────────────── */
216

Callers 4

init_baselineFunction · 0.85
check_tree_changesFunction · 0.85
commit_baselinesFunction · 0.85
test_watcher.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected