-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since sync.Pools are garbage collected, the current implementation where the pools are warmed up at `init` will be purged after few cycles. This implementation changes to not pre-create pools but rather use the constructor to create them on demand. Signed-off-by: Samuel Lang <gh@lang-sam.de>
- Loading branch information
1 parent
c586ad4
commit 40bcdc2
Showing
1 changed file
with
10 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters