Permalink
Browse files

Revert "default the reaping frequency to 10 seconds"

mysql can't handle a parallel thread pinging the connection, so we can
get wrong results or segvs

This reverts commit 7cc588b.
  • Loading branch information...
1 parent acb78c2 commit 7150a9dc036ca02e8293d31ac57a26c55860fff7 @tenderlove tenderlove committed Mar 20, 2013
@@ -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] || 10)
+ @reaper = Reaper.new self, spec.config[:reaping_frequency]
@reaper.run
# default max pool size to 5

0 comments on commit 7150a9d

Please sign in to comment.