mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
default the reaping frequency to 10 seconds
This commit is contained in:
parent
b98efa2652
commit
7cc588b684
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue