| 205 | } |
| 206 | |
| 207 | int 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 |
no outgoing calls
no test coverage detected