Fixed major bug where :refresh_mode == :async

This commit is contained in:
Kyle Banker 2011-10-06 14:50:51 -04:00
parent 8525f4ceac
commit 09c8a3838c
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ module Mongo
sync_synchronize(:EX) do sync_synchronize(:EX) do
log(:info, "Refreshing...") log(:info, "Refreshing...")
@background_manager ||= PoolManager.new(self, @seeds) @background_manager = PoolManager.new(self, @seeds)
@background_manager.connect @background_manager.connect
update_config(@background_manager) update_config(@background_manager)
end end