IZ MS debugging info on publish.....

This commit is contained in:
maxwell 2010-07-16 11:51:13 -07:00
parent 566cceb03f
commit ef19322ef6

View file

@ -18,6 +18,7 @@ class MessageHandler
end
def add_hub_notification(destination, feed_location)
puts "going to: #{destination}, telling it to fetch #{feed_location}"
@queue.push(Message.new(:pubhub, destination, feed_location))
end
@ -32,7 +33,7 @@ class MessageHandler
http.callback {send_to_seed(query, http.response); process}
when :pubhub
http = EventMachine::PubSubHubbub.new(query.destination).publish query.body, :timeout => TIMEOUT
http.callback { puts "boner city" + http.response ; process}
http.callback { puts "boner city"; process}
else
raise "message is not a type I know!"
end