mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
3b3d5077ba
commit
aa9f1ca46d
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ module LogStash; class OutputDelegator
|
||||||
# The other 2% you get weird errors about rebinding to the same object
|
# The other 2% you get weird errors about rebinding to the same object
|
||||||
# Until we switch to Jruby 9.x keep the define_singleton_method parts
|
# Until we switch to Jruby 9.x keep the define_singleton_method parts
|
||||||
# the way they are, with a block
|
# the way they are, with a block
|
||||||
|
# See https://github.com/jruby/jruby/issues/3582
|
||||||
if threadsafe?
|
if threadsafe?
|
||||||
@threadsafe_worker = @workers.first
|
@threadsafe_worker = @workers.first
|
||||||
define_singleton_method(:multi_receive) do |events|
|
define_singleton_method(:multi_receive) do |events|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue