mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
df6eac4df4
commit
234add03dc
2 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ module LogStash; class JavaPipeline < JavaBasePipeline
|
|||
lir_execution, filter_queue_client, @events_filtered, @events_consumed,
|
||||
@flushRequested, @flushing, @shutdownRequested, @drain_queue).run
|
||||
end
|
||||
thread.name="[#{pipeline_id}]>worker#{t}"
|
||||
Util.set_thread_name("[#{pipeline_id}]>worker#{t}")
|
||||
@worker_threads << thread
|
||||
end
|
||||
|
||||
|
|
|
@ -284,7 +284,7 @@ module LogStash; class Pipeline < BasePipeline
|
|||
thread = Thread.new(batch_size, batch_delay, self) do |_b_size, _b_delay, _pipeline|
|
||||
_pipeline.worker_loop(_b_size, _b_delay)
|
||||
end
|
||||
thread.name="[#{pipeline_id}]>worker#{t}"
|
||||
Util.set_thread_name("[#{pipeline_id}]>worker#{t}")
|
||||
@worker_threads << thread
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue