diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-30 16:14:25 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-30 16:14:25 -0800 |
commit | 641b43e865225fd139fe17b56321ff732ecf9a94 (patch) | |
tree | b6b0c3d7a6c8623be86f07979d8cc08351f3ed4a /activerecord | |
parent | 59f2696d0012c451190a9e3fe1b92c3619dee1a2 (diff) | |
download | rails-641b43e865225fd139fe17b56321ff732ecf9a94.tar.gz rails-641b43e865225fd139fe17b56321ff732ecf9a94.tar.bz2 rails-641b43e865225fd139fe17b56321ff732ecf9a94.zip |
updating the reaping frequency documentation
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |