2013-09-24 14:05:46 -04:00
|
|
|
1.2.0
|
2013-11-26 13:32:38 -05:00
|
|
|
-----
|
2013-09-24 14:05:46 -04:00
|
|
|
|
2013-11-26 13:32:38 -05:00
|
|
|
- Add `with(options)` and `checkout(options)`. [mattcamuto]
|
|
|
|
Allows the caller to override the pool timeout.
|
|
|
|
```ruby
|
|
|
|
@pool.with(:timeout => 2) do |conn|
|
|
|
|
end
|
|
|
|
```
|
2013-09-24 14:05:46 -04:00
|
|
|
|
2013-05-29 11:47:07 -04:00
|
|
|
1.1.0
|
2013-05-25 13:19:19 -04:00
|
|
|
-----
|
|
|
|
|
2013-05-29 11:47:07 -04:00
|
|
|
- New `#shutdown` method (simao)
|
2013-05-25 13:19:19 -04:00
|
|
|
|
|
|
|
This method accepts a block and calls the block for each
|
|
|
|
connection in the pool. After calling this method, trying to get a
|
2013-05-29 11:47:07 -04:00
|
|
|
connection from the pool raises `PoolShuttingDownError`.
|
2013-05-25 13:19:19 -04:00
|
|
|
|
2012-12-18 22:08:30 -05:00
|
|
|
1.0.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
- `#with_connection` is now gone in favor of `#with`.
|
|
|
|
|
|
|
|
- We no longer pollute the top level namespace with our internal
|
|
|
|
`TimedStack` class.
|
|
|
|
|
2012-12-18 21:48:44 -05:00
|
|
|
0.9.3
|
|
|
|
--------
|
|
|
|
|
|
|
|
- `#with_connection` is now deprecated in favor of `#with`.
|
|
|
|
|
|
|
|
A warning will be issued in the 0.9 series and the method will be
|
|
|
|
removed in 1.0.
|
|
|
|
|
|
|
|
- We now reuse objects when possible.
|
|
|
|
|
|
|
|
This means that under no contention, the same object will be checked
|
|
|
|
out from the pool after subsequent calls to `ConnectionPool#with`.
|
|
|
|
|
|
|
|
This change should have no impact on end user performance. If
|
|
|
|
anything, it should be an improvement, depending on what objects you
|
|
|
|
are pooling.
|
|
|
|
|
2012-06-29 23:22:42 -04:00
|
|
|
0.9.2
|
|
|
|
--------
|
|
|
|
|
|
|
|
- Fix reentrant checkout leading to early checkin.
|
|
|
|
|
2012-04-01 22:24:45 -04:00
|
|
|
0.9.1
|
|
|
|
--------
|
|
|
|
|
|
|
|
- Fix invalid superclass in version.rb
|
|
|
|
|
2012-03-14 11:36:40 -04:00
|
|
|
0.9.0
|
|
|
|
--------
|
|
|
|
|
|
|
|
- Move method\_missing magic into ConnectionPool::Wrapper (djanowski)
|
|
|
|
- Remove BasicObject superclass (djanowski)
|
|
|
|
|
2011-09-19 17:29:59 -04:00
|
|
|
0.1.0
|
2011-09-19 13:29:31 -04:00
|
|
|
--------
|
|
|
|
|
2011-09-19 17:29:59 -04:00
|
|
|
- More precise timeouts and better error message
|
2011-09-19 13:29:31 -04:00
|
|
|
- ConnectionPool now subclasses BasicObject so `method_missing` is more effective.
|