Permalink
Browse files

updating the reaping frequency documentation

  • Loading branch information...
1 parent 59f2696 commit 641b43e865225fd139fe17b56321ff732ecf9a94 @tenderlove tenderlove committed Dec 31, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
@@ -67,6 +67,9 @@ class ConnectionPool
# Every +frequency+ seconds, the reaper will call +reap+ on +pool+.
# A reaper instantiated with a nil frequency will never reap the
# connection pool.
+ #
+ # Configure the frequency by setting "reaping_frequency" in your
+ # database yaml file.
class Reaper
attr_reader :pool, :frequency

0 comments on commit 641b43e

Please sign in to comment.