default the reaping frequency to 10 seconds

This commit is contained in:
Aaron Patterson 2013-03-11 11:14:39 -07:00
parent b98efa2652
commit 7cc588b684
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ module ActiveRecord
@checkout_timeout = spec.config[:checkout_timeout] || 5
@dead_connection_timeout = spec.config[:dead_connection_timeout] || 5
@reaper = Reaper.new self, spec.config[:reaping_frequency]
@reaper = Reaper.new(self, spec.config[:reaping_frequency] || 10)
@reaper.run
# default max pool size to 5