Skip to content
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
tenderlove committed Mar 20, 2013
1 parent acb78c2 commit 7150a9dc036ca02e8293d31ac57a26c55860fff7
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.