docs(acp): clarify denial limiter bounds

Co-authored-by: Tom Brow <tomb@block.xyz>
Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
npub1tquskdu6yc4h8l7xxtceculxw600grekeq0xg2ukqfrwl7vrzg3quz3gmp
2026-07-31 21:31:03 -07:00
committed by npub1w85l93z2dyetvaev42kvmgv3r5qsgc7rutrvgpqshqefj4sydqqskwstfm
parent 177c2adaa2
commit 2a248a0092

View File

@@ -164,8 +164,8 @@ impl DenialLimiter {
self.prune(now);
let author_key = (channel_id, author.to_string());
// Match OwnerCache's simple bounded-map policy. The channel cap remains
// the volume bound if a many-author burst clears the author map.
// Match OwnerCache's simple bounded-map policy. The channel map keeps
// its own cap when a many-author burst clears the author map.
if self.by_author.len() >= MAX_TRACKED_DENIAL_KEYS {
self.by_author.clear();
}