Skip to content

Commit 0311231

Browse files
committed
cl
1 parent 388cbd1 commit 0311231

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### Changes
1313

1414
- Optimization of mutex usage in cache for reaper [#3286](https://github.com/evstack/ev-node/pull/3286)
15+
- Reduce tx cache retention to avoid OOM under (really) heavy tx load [#3299](https://github.com/evstack/ev-node/pull/3299)
1516

1617
## v1.1.1
1718

block/internal/reaping/reaper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const (
2424

2525
// CleanupInterval is how often the reaper sweeps expired hashes
2626
// out of the seen-tx cache.
27-
CleanupInterval = max(cache.DefaultTxCacheRetention/10, 5*time.Second)
27+
CleanupInterval = max(cache.DefaultTxCacheRetention/10, 15*time.Second)
2828
)
2929

3030
// Reaper is responsible for periodically retrieving transactions from the executor,

0 commit comments

Comments
 (0)