Repository navigation
runtime: skip eviction timer when stack_pool.max_age is zero - #423
Conversation
When max_age is zero (age-based eviction disabled), skip both the initial timer registration in Executor.init and the rearm in stackPoolEvictionCallback, avoiding unnecessary background work on idle runtimes. Fixes #422 Co-authored-by: Lukáš Lalinský <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughExecutor initialization now skips registering the periodic stack-pool eviction timer when idle eviction is disabled, and the timer callback stops rearming itself under the same condition, eliminating wasted background work on runtimes with age-based eviction turned off. ChangesStack pool eviction timer conditional gating
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
When
max_ageis zero (age-based eviction disabled), skip both the initial timer registration inExecutor.initand the rearm instackPoolEvictionCallback, avoiding unnecessary background work on idle runtimes.Fixes #422