fix(delivery): prevent throttle reset timer from firing after stop and avoid scheduling duplicate timers

This commit is contained in:
2026-02-26 16:58:06 +00:00
parent cda2c06087
commit 71a0ec3202
3 changed files with 21 additions and 3 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2026-02-26 - 5.2.3 - fix(delivery)
prevent throttle reset timer from firing after stop and avoid scheduling duplicate timers
- add throttleResetTimer property to track scheduled throttle-reset timeout
- clear throttleResetTimer when stopping to prevent it firing after shutdown
- clear existing throttleResetTimer before scheduling a new one and null it when fired to avoid duplicate timers and potential leaks
## 2026-02-12 - 5.2.2 - fix(deps)
bump dependencies: @push.rocks/smartrust to ^1.2.1, lru-cache to ^11.2.6