publish instead of get
This commit is contained in:
parent
c01bbbb3e0
commit
0e8b84fb96
1 changed files with 1 additions and 1 deletions
|
|
@ -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!"
|
||||
|
|
|
|||
Loading…
Reference in a new issue