提交 7cc588b6 编写于 作者: A Aaron Patterson

default the reaping frequency to 10 seconds

上级 b98efa26
......@@ -238,7 +238,7 @@ def initialize(spec)
@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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册