Skip to content

Conversation

fatkodima
Copy link
Contributor

Connection reaping was added to connection_pool in v2.5 (mperham/connection_pool#187), but currently this is not working on this gem.

With this PR merged, it will be now possible to do:

http = Net::HTTP::Persistent.new name: 'my_app_name'
http.pool.reap(300) { |conn| conn.close }

@fatkodima
Copy link
Contributor Author

CI fails on older ruby. Wdyt about upgrading requirements for this gem?

@jjb jjb mentioned this pull request Aug 11, 2025
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.

1 participant