default max_pool_size to 0 = unlimited

This commit is contained in:
Brian J. Cardiff 2016-10-21 21:49:16 -03:00 committed by Brian J. Cardiff
parent 79ec638de4
commit cd10dabba2
6 changed files with 19 additions and 7 deletions

View file

@ -196,10 +196,10 @@ def with_witness(count = 1)
w.count.should eq(0), "The expected coverage was unmet"
end
def with_dummy
def with_dummy(uri : String = "dummy://host?checkout_timeout=0.5")
DummyDriver::DummyConnection.clear_connections
DB.open "dummy://host?checkout_timeout=0.5" do |db|
DB.open uri do |db|
yield db
end
end