lib/ring/sqa/database.rb in ring-sqa-0.1.10 vs lib/ring/sqa/database.rb in ring-sqa-0.1.11
- old
+ new
@@ -37,10 +37,10 @@
private
def initialize
Sequel::Model.plugin :schema
- sequel_opts = { max_connections: 3, pool_timout: 60 }
+ sequel_opts = { max_connections: 1, pool_timout: 60 }
if CFG.ram_database?
@db = Sequel.sqlite sequel_opts
else
file = '%s.db' % CFG.afi
file = File.join CFG.directory, file