Commit 425e040
perf(durable-iterator): improve resume events cleanup logic (#1102)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* Performance
* Cleanup of expired events is now throttled to reduce overhead and
improve responsiveness under load.
* An initial cleanup still runs at startup when retention is enabled.
* Behavior
* Expired events may remain briefly accessible before being removed due
to deferred cleanup.
* Documentation
* Retention settings updated to note that cleanup is deferred and some
expired events can be temporarily available.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent 5e2cabd commit 425e040
1 file changed
Lines changed: 12 additions & 0 deletions
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
197 | 200 | | |
198 | 201 | | |
199 | 202 | | |
| 203 | + | |
200 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
201 | 213 | | |
202 | 214 | | |
203 | 215 | | |
| |||
0 commit comments