lib/mongo_mapper/connection.rb in mongo_mapper-0.15.5 vs lib/mongo_mapper/connection.rb in mongo_mapper-0.15.6

- old
+ new

@@ -79,10 +79,10 @@ def handle_passenger_forking # :nocov: if defined?(PhusionPassenger) PhusionPassenger.on_event(:starting_worker_process) do |forked| - connection.connect if forked + connection.reconnect if forked end end # :nocov: end end