publish instead of get

This commit is contained in:
danielvincent 2010-10-05 17:26:26 -07:00
parent c01bbbb3e0
commit 0e8b84fb96

View file

@ -34,7 +34,7 @@ class MessageHandler
http = EventMachine::HttpRequest.new(query.destination).get :timeout => TIMEOUT
http.callback {process}
when :hub_publish
http = EventMachine::PubSubHubbub.new(query.destination).get :timeout => TIMEOUT
http = EventMachine::PubSubHubbub.new(query.destination).publish :timeout => TIMEOUT
http.callback {process}
else
raise "message is not a type I know!"