Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: optimize gzip writer pool management and resource handling #102

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

appleboy
Copy link
Member

  • Remove deferred function that resets and puts the gzip writer back into the pool
  • Add immediate return of the gzip writer to the pool after resetting it

fixed #87

- Remove deferred function that resets and puts the gzip writer back into the pool
- Add immediate return of the gzip writer to the pool after resetting it

Signed-off-by: appleboy <[email protected]>
@appleboy appleboy merged commit aa5d8ee into master Jan 27, 2025
6 checks passed
@appleboy appleboy deleted the reset branch January 27, 2025 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can we remove this Reset?
1 participant