Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Default dead_connection_timeout to 5

or the ConnectionPool silently fails to close connections inside the Thread
  • Loading branch information...
commit a8eb13a87faa2fe2dcf31826ee1c5cce0b3d4d47 1 parent 8dc7ef9
@amatsuda amatsuda authored
View
2  activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
@@ -237,7 +237,7 @@ def initialize(spec)
@spec = spec
@checkout_timeout = spec.config[:checkout_timeout] || 5
- @dead_connection_timeout = spec.config[:dead_connection_timeout]
+ @dead_connection_timeout = spec.config[:dead_connection_timeout] || 5
@reaper = Reaper.new self, spec.config[:reaping_frequency]
@reaper.run
Please sign in to comment.
Something went wrong with that request. Please try again.