- Use mqrpc's new 'delayable' message header

This commit is contained in:
Jordan Sissel 2009-11-07 21:58:40 +00:00
parent f4b0fafc00
commit 50eb137e1e
2 changed files with 1 additions and 2 deletions

View file

@ -33,7 +33,7 @@ module LogStash; module Net; module Clients
ier.metadata["source_host"] = @hostname
@logger.debug "Indexing #{type}: #{string}"
ier.want_buffer(true)
ier.delayable = true
sendmsg("logstash", ier)
end # def index

View file

@ -244,7 +244,6 @@ module LogStash; module Net; module Servers
def broadcaster
msg = LogStash::Net::Messages::BroadcastMessage.new
msg.queue = @id
msg.want_buffer(false)
loop do
@logger.info "Sending #{msg.class}"
sendmsg_topic("logstash-broadcast", msg)