You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e468fac
Browse filesBrowse the repository at this point in the historyBrowse files
fix(scanner-daemon): replace the float jitter arithmetic with integer arithmetic
The production-code pass of the static checks denies
clippy::float_arithmetic (-D clippy::float_arithmetic in do_checks.sh),
which the jitter computation in the backoff schedule violated; the local
verification had only replicated the first clippy pass (all-targets),
where that lint is not enabled.
The jitter is now computed in integer arithmetic: a uniformly random
percentage in [80, 120] is applied via Duration's u32 multiplication and
division, with the test bounds derived the same way.
0 commit comments