code wiki / _hdl_build / _cn_fetch.nx
_cn_fetch.nx
buildroot/runtime/_hdl_build/_cn_fetch.nx
about
AUTHORED BY THE NISHI BUILDER (pattern: GOVERNOR) -- min-gap pacing + clamped exponential backoff
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: _cn_fetch_test.nx
structs
| none |
consts
| none |
functions
| 3 | func _cn_fetch_allow(last_ms: i64, now_ms: i64) -> i64 { if now_ms - last_ms >= 1500 { return 1 } return 0 } called by 1: main |
| 4 | func _cn_fetch_backoff(fails: i64) -> i64 called by 1: main |