mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- Use mqrpc's new 'delayable' message header
This commit is contained in:
parent
f4b0fafc00
commit
50eb137e1e
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue