-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
co/auto-pausekind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
Description
each call of time.After creates a new timer instance which is not released until the timer fired. If we have high traffic in incomeCh we'll end up with a lot of pending timers
https://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
Metadata
Metadata
Labels
co/auto-pausekind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.