From 641b43e865225fd139fe17b56321ff732ecf9a94 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 30 Dec 2011 16:14:25 -0800 Subject: updating the reaping frequency documentation --- .../lib/active_record/connection_adapters/abstract/connection_pool.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb index 29daef89a6..b8f99adc22 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb @@ -67,6 +67,9 @@ module ActiveRecord # 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 -- cgit v1.2.3