removed the http inspect
This commit is contained in:
parent
c4b79aebc0
commit
21c75c08bb
2 changed files with 1 additions and 2 deletions
|
|
@ -14,4 +14,3 @@ if defined?(PhusionPassenger)
|
||||||
end
|
end
|
||||||
|
|
||||||
Magent.connection = MongoMapper.connection
|
Magent.connection = MongoMapper.connection
|
||||||
MongoMapper.database.profiling_level = :all
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue