rubygem-connection_pool/rubygem-connection_pool.changes

159 lines
4.3 KiB
Plaintext

-------------------------------------------------------------------
Mon Feb 3 09:30:35 UTC 2025 - Dan Čermák <dan.cermak@posteo.net>
- 2.5.0
------
- Reap idle connections [#187]
```ruby
idle_timeout = 60
pool = ConnectionPool.new ...
pool.reap(idle_timeout, &:close)
```
- `ConnectionPool#idle` returns the count of connections not in use [#187]
-------------------------------------------------------------------
Thu Nov 2 15:42:47 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
- 2.4.1
------
- New `auto_reload_after_fork` config option to disable auto-drop [#177, shayonj]
2.4.0
------
- Automatically drop all connections after fork [#166]
-------------------------------------------------------------------
Mon Oct 10 13:01:38 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 2.3.0
see installed Changes.md
2.3.0
------
- Minimum Ruby version is now 2.5.0
- Add pool size to TimeoutError message
-------------------------------------------------------------------
Thu Jun 24 17:12:24 UTC 2021 - Stephan Kulow <coolo@suse.com>
updated to version 2.2.5
see installed Changes.md
2.2.5
------
- Fix argument forwarding on Ruby 2.7 [#149]
2.2.4
------
- 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]
-------------------------------------------------------------------
Fri Sep 25 13:47:48 UTC 2020 - Stephan Kulow <coolo@suse.com>
updated to version 2.2.3
see installed Changes.md
-------------------------------------------------------------------
Thu May 24 18:03:56 UTC 2018 - factory-auto@kulow.org
- updated to version 2.2.2
see installed Changes.md
2.2.2
------
- Add pool `size` and `available` accessors for metrics and monitoring
purposes [#97, robholland]
-------------------------------------------------------------------
Sun Nov 13 05:31:35 UTC 2016 - coolo@suse.com
- updated to version 2.2.1
see installed Changes.md
2.2.1
------
- Allow CP::Wrapper to use an existing pool [#87, etiennebarrie]
- Use monotonic time for more accurate timeouts [#84, jdantonio]
-------------------------------------------------------------------
Sat Apr 11 04:29:07 UTC 2015 - coolo@suse.com
- updated to version 2.2.0
-------------------------------------------------------------------
Fri Mar 20 05:33:27 UTC 2015 - coolo@suse.com
- updated to version 2.1.3
-------------------------------------------------------------------
Tue Mar 3 05:29:23 UTC 2015 - coolo@suse.com
- updated to version 2.1.2
-------------------------------------------------------------------
Sat Feb 7 07:21:14 UTC 2015 - coolo@suse.com
- updated to version 2.1.1
- Work around a subtle race condition with code which uses `Timeout.timeout` and
checks out a connection within the timeout block. This might cause
connections to get into a bad state and raise very odd errors. [tamird, #67]
2.1.0
------
- Refactoring to better support connection pool subclasses [drbrain,
#55]
- `with` should return value of the last expression [#59]
-------------------------------------------------------------------
Mon Oct 13 09:47:33 UTC 2014 - coolo@suse.com
- adapt to new rubygem packaging
-------------------------------------------------------------------
Sat Mar 15 18:46:01 UTC 2014 - coolo@suse.com
- updated to version 2.0.0
- The connection pool is now lazy. Connections are created as needed
and retained until the pool is shut down. [drbrain, #52]
-------------------------------------------------------------------
Wed Nov 27 08:19:00 UTC 2013 - coolo@suse.com
- updated to version 1.2.0
- Add `with(options)` and `checkout(options)`. [mattcamuto]
Allows the caller to override the pool timeout.
```ruby
@pool.with(:timeout => 2) do |conn|
end
-------------------------------------------------------------------
Wed Jul 31 05:45:54 UTC 2013 - coolo@suse.com
- updated to version 1.1.0
- New `#shutdown` method (simao)
This method accepts a block and calls the block for each
connection in the pool. After calling this method, trying to get a
connection from the pool raises `PoolShuttingDownError`.
-------------------------------------------------------------------
Tue Dec 25 17:00:44 UTC 2012 - coolo@suse.com
- initial package (version 1.0.0)