lib/mongo_mapper/connection.rb in mongo_mapper-0.8.5 vs lib/mongo_mapper/connection.rb in mongo_mapper-0.8.6
- old
+ new
@@ -73,10 +73,10 @@
end
def handle_passenger_forking
if defined?(PhusionPassenger)
PhusionPassenger.on_event(:starting_worker_process) do |forked|
- connection.connect_to_master if forked
+ connection.connect if forked
end
end
end
end
end
\ No newline at end of file