Skip to content

Commit

Permalink
Connect to master doesn't reauthenticate on our behalf
Browse files Browse the repository at this point in the history
  • Loading branch information
zbelzer authored and bkeepers committed Apr 9, 2010
1 parent 8ec8ca4 commit dafd5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed/backend/mongo_mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def self.before_fork
end

def self.after_fork
::MongoMapper.connection.connect_to_master
::MongoMapper.connect(RAILS_ENV)
end

def self.db_time_now
Expand Down

0 comments on commit dafd5f4

Please sign in to comment.