Commit 7002848
CQv1: Don't limit messages in memory based on consume rate
The v1 index is not optimised for reading messages except when
the entire segment is read. So we always do that.
This change was made because when the read is inefficient and
TTL is used the queue can get unresponsive while getting the
TTL messages dropped. In that case the queue may drop messages
slower than they expire and as a result will not process any
Erlang messages until it has dropped all messages in the queue.
(cherry picked from commit d3aa298)1 parent f2c70d7 commit 7002848
1 file changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2601 | 2601 | | |
2602 | 2602 | | |
2603 | 2603 | | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
| 2616 | + | |
2604 | 2617 | | |
2605 | 2618 | | |
2606 | | - | |
2607 | | - | |
2608 | | - | |
2609 | | - | |
2610 | | - | |
2611 | | - | |
| 2619 | + | |
2612 | 2620 | | |
2613 | 2621 | | |
2614 | 2622 | | |
| |||
0 commit comments