mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
default max_pool_size to 0 = unlimited
This commit is contained in:
parent
79ec638de4
commit
cd10dabba2
6 changed files with 19 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue