mirror of
https://github.com/mperham/connection_pool
synced 2023-03-27 23:22:21 -04:00
708ab9a6c4
Now TimedStack only creates connections when the internal queue is empty and the number of connections is less than the maximum set. By default no connections are created when the pool is created. This required some changes to the TimedStack tests because I wrote poor tests the first time around. The new tests better exercise the intended behavior of TimedStack. This required some changes to the ConnectionPool tests to use up connections because now an unused pool has no connections. |
||
---|---|---|
.. | ||
helper.rb | ||
test_connection_pool.rb | ||
test_connection_pool_timed_stack.rb |