Repository navigation
Commit 7682871
committed
fix(whatsapp): release deferred ingress lane so debounce merges same-chat bursts
A deferred claim means the message is sitting in the channel debounce
window, not that the conversation lane is busy. WhatsApp inherited the
core drain's default deferredLaneOccupancy="hold", so while message 1
waited in the debounce window the per-conversation lane stayed owned and
message 2 from the same chat was blocked. Each message then entered a
fresh, empty window and paid the full debounceMs, so a burst of N
messages became N turns instead of one merged turn (regression of #101335
on WhatsApp after it moved to the shared durable-ingress drain).
Mirror Telegram's deferredLaneOccupancy="release" opt-in so same-chat
messages can reach the debouncer and merge.1 parent 392e1c0 commit 7682871
2 files changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
181 | 184 | | |
182 | | - | |
| 185 | + | |
183 | 186 | | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
188 | 191 | | |
189 | 192 | | |
190 | | - | |
191 | 193 | | |
192 | 194 | | |
193 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
| |||
0 commit comments