IZ MS debugging info on publish.....
This commit is contained in:
parent
566cceb03f
commit
ef19322ef6
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue