Files
ntfy/ban
binwiederhier 9ccddc7b10 Cap ban weights and the threshold, so counting in thousandths cannot overflow
A weight like 1e16 overflowed to a negative token count, which the limiter always allows, so the code never banned. Weights above 1,000,000 and thresholds above 1,000,000,000 are now rejected at startup.
2026-11-02 01:13:18 +00:00
..