- disable agent index request buffering for now (need to debug parser race/halting-bug condition)

- set response code in Indexer's IndexEventRequestHandler
This commit is contained in:
Jordan Sissel 2009-11-06 09:32:01 +00:00
parent c9fa9c87af
commit ef35581319
2 changed files with 2 additions and 1 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.want_buffer(true)
sendmsg("logstash", ier)
end # def index

View file

@ -55,6 +55,7 @@ module LogStash; module Net; module Servers
@indexes[log_type] ||= @config.logs[log_type].get_index
@indexes[log_type] << request.log_data
response.code = 0
yield response
end