mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- support shutting down.
This commit is contained in:
parent
75b2574fd3
commit
8b109303e5
1 changed files with 2 additions and 0 deletions
|
@ -94,5 +94,7 @@ class LogStash::Inputs::Elasticsearch < LogStash::Inputs::Base
|
|||
break
|
||||
end
|
||||
end
|
||||
rescue LogStash::ShutdownSignal
|
||||
# Do nothing, let us quit.
|
||||
end # def run
|
||||
end # class LogStash::Inputs::Elasticsearch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue