removed the http inspect

This commit is contained in:
zhitomirskiyi 2010-10-26 19:19:34 -07:00
parent c4b79aebc0
commit 21c75c08bb
2 changed files with 1 additions and 2 deletions

View file

@ -14,4 +14,3 @@ if defined?(PhusionPassenger)
end end
Magent.connection = MongoMapper.connection Magent.connection = MongoMapper.connection
MongoMapper.database.profiling_level = :all

View file

@ -42,7 +42,7 @@ class MessageHandler
http.errback { http.errback {
Rails.logger.info(http.response) Rails.logger.info(http.response)
Rails.logger.info("Failure from #{query.destination}, with #{http.inspect},retrying...") Rails.logger.info("Failure from #{query.destination}, retrying...")
query.try_count +=1 query.try_count +=1
@queue.push query unless query.try_count >= NUM_TRIES @queue.push query unless query.try_count >= NUM_TRIES