Commit d254f79
authored
[ISSUE #10071] Fix PopLiteLongPollingService#cleanUnusedResource
Problem: The cleanUnusedResource method was cleaning up client long polling requests without returning results to clients, causing client errors.
Solution:
1. Simplified the cleanUnusedResource method to only remove entries with empty request queues
2. Changed cleanup interval from 5 minutes to 3 minutes
Change-Id: If7052ba0d088e68cf654e6b7efafe09f5fa877be1 parent c2c674d commit d254f79
File tree
1 file changed
+3
-6
lines changed- broker/src/main/java/org/apache/rocketmq/broker/longpolling
1 file changed
+3
-6
lines changedLines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
129 | | - | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
247 | 246 | | |
248 | 247 | | |
249 | 248 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
| 249 | + | |
| 250 | + | |
254 | 251 | | |
255 | 252 | | |
256 | 253 | | |
| |||
0 commit comments