Disabled auto-refresh by default.

This commit is contained in:
Kyle Banker 2011-08-30 16:17:05 -04:00
parent e8a5375cbf
commit 3c31dc6acd

View File

@ -108,7 +108,7 @@ module Mongo
@arbiters = [] @arbiters = []
# Refresh # Refresh
@auto_refresh = opts.fetch(:auto_refresh, true) @auto_refresh = opts.fetch(:auto_refresh, false)
@refresh_interval = opts[:refresh_interval] || 90 @refresh_interval = opts[:refresh_interval] || 90
# Are we allowing reads from secondaries? # Are we allowing reads from secondaries?