auto-pause: make it memory-leak proof #10596
Labels
co/auto-pause
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
each call of
time.After
creates a new timer instance which is not released until the timer fired. If we have high traffic inincomeCh
we'll end up with a lot of pending timershttps://groups.google.com/g/golang-nuts/c/cCdm0Ixwi9A
Originally posted by @ilya-zuyev in #10427 (comment)
https://www.fatalerrors.org/a/use-with-caution-time.after-can-cause-memory-leak-golang.html
The text was updated successfully, but these errors were encountered: