Skip to content

The agent that grows with you

docs(matrix): note the parked-voice cap limit

kshitijk4poor67066dba29f3
diff --git a/plugins/platforms/matrix/voice_mention.py b/plugins/platforms/matrix/voice_mention.py
index 0ec3cf71a61..cf7da914cbc 100644
--- a/plugins/platforms/matrix/voice_mention.py
+++ b/plugins/platforms/matrix/voice_mention.py
@@ -15,7 +15,9 @@ from typing import Dict, List, Optional, Tuple
CLAIM_WINDOW_SECONDS = 120.0
# How long a bare mention waits for a voice from the same /sync batch that is still being gated.
SETTLE_TIMEOUT_SECONDS = 5.0
-# Voices a sender can have parked per room at once (oldest dropped beyond this).
+# Voices a sender can have parked per room at once (oldest by arrival dropped beyond this). Known
+# limit: if more than this many newer voices park while a bare mention is still settling, the
+# older voice it was owed is dropped and the mention is answered as text, as on main.
MAX_PARKED_PER_SENDER = 4
# (voice event_id, content, relates_to)