| Age | Commit message (Collapse) | Author | Files | Lines |
|
2.3.0 (2022-09-15)
* Minimum Ruby version is now 2.5.0
* Add pool size to TimeoutError message
|
|
2.2.5 (2021-04-15)
* Fix argument forwarding on Ruby 2.7 [#149]
2.2.4 (2021-04-12)
* Add reload to close all connections, recreating them afterwards [Andrew
Marshall, #140]
* Add then as a way to use a pool or a bare connection with the same code
path [#138]
|
|
Update ruby-connection_pool to 2.2.3.
2.2.3
------
- Pool now throws `ConnectionPool::TimeoutError` on timeout. [#130]
- Use monotonic clock present in all modern Rubies [Tero Tasanen, #109]
- Remove code hacks necessary for JRuby 1.7
- Expose wrapped pool from ConnectionPool::Wrapper [Thomas Lecavelier, #113]
|
|
2.2.2
------
- Add pool `size` and `available` accessors for metrics and monitoring
purposes [#97, robholland]
|
|
Generic connection pooling for Ruby.
MongoDB has its own connection pool. ActiveRecord has its own connection pool.
This is a generic connection pool that can be used with anything, e.g. Redis,
Dalli and other Ruby network clients.
**WARNING**: Don't ever use `Timeout.timeout` in your Ruby code or you will see
occasional silent corruption and mysterious errors. The Timeout API is unsafe
and cannot be used correctly, ever. Use proper socket timeout options as
exposed by Net::HTTP, Redis, Dalli, etc.
|