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-08-02 16:51:32 -07:00
co-authored by Tom Brow
parent 177c2adaa2
commit 2a248a0092
+2 -2
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();
}