diff options
author | 2014-11-17 20:21:45 +0000 | |
---|---|---|
committer | 2014-11-17 20:21:45 +0000 | |
commit | d57937ed2fe4b1bc86242f36105a0f2c425dafbf (patch) | |
tree | d048bbaafd871077acce415faf323da9791ca90b /web/lib/models.rb | |
parent | Add AWS CI task (diff) | |
download | ruby-tinderbox-d57937ed2fe4b1bc86242f36105a0f2c425dafbf.tar.gz ruby-tinderbox-d57937ed2fe4b1bc86242f36105a0f2c425dafbf.tar.bz2 ruby-tinderbox-d57937ed2fe4b1bc86242f36105a0f2c425dafbf.zip |
Increase pool timeout
Diffstat (limited to 'web/lib/models.rb')
-rw-r--r-- | web/lib/models.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/models.rb b/web/lib/models.rb index 990d461..4850a93 100644 --- a/web/lib/models.rb +++ b/web/lib/models.rb @@ -1,4 +1,4 @@ -DB = Sequel.connect(ENV['DATABASE_URL'] || 'sqlite://db/database.sqlite3') +DB = Sequel.connect(ENV['DATABASE_URL'] || 'sqlite://db/database.sqlite3', :pool_timeout => 25) class Package < Sequel::Model one_to_many :builds |