You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove the no-op adaptive-batching pause and resume in WorkerTimerService #9026
WorkerTimerService (amber/.../messaginglayer/WorkerTimerService.scala) keeps an isPaused flag that only pauseAdaptiveBatching() sets to true. Nothing in production calls pauseAdaptiveBatching(), so isPaused is always false, and resumeAdaptiveBatching() (called from the worker ResumeHandler) never re-arms anything.
Introduced by#1826 (2023-02-02, "Add time-based batch in network output buffer"), which added the pause method. #2208 (2023-11-16, "Refactoring of amber engine") moved it into WorkerTimerService and added isPaused, resumeAdaptiveBatching() and the ResumeHandler call.
Usage removed by#2392 (2024-02-19, "Remove breakpoint feature"), which deleted the last caller of pauseAdaptiveBatching(), the breakpoint branch in DataProcessor.
Removing the two methods, the flag and the no-op ResumeHandler call is a pure deletion with no behaviour change.
Activity
refactor(amber): remove the no-op batching pause/resume (apache#9029)