diff --git a/lib/mongo/repl_set_connection.rb b/lib/mongo/repl_set_connection.rb index af3eb0e..f07c7f9 100644 --- a/lib/mongo/repl_set_connection.rb +++ b/lib/mongo/repl_set_connection.rb @@ -216,7 +216,7 @@ module Mongo sync_synchronize(:EX) do log(:info, "Refreshing...") - @background_manager ||= PoolManager.new(self, @seeds) + @background_manager = PoolManager.new(self, @seeds) @background_manager.connect update_config(@background_manager) end