mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
8e099d49bd
commit
05d01cf20c
1 changed files with 1 additions and 4 deletions
|
@ -75,11 +75,8 @@ class LogStash::Agent
|
|||
Stud.interval(@reload_interval) { reload_state! }
|
||||
else
|
||||
while !Stud.stop?
|
||||
if clean_state || running_user_defined_pipelines?
|
||||
if clean_state? || running_user_defined_pipelines?
|
||||
sleep(0.5)
|
||||
elsif !running_user_defined_pipelines? && running_pipelines? && Stud.stop?
|
||||
logger.debug("Shutting down system pipelines")
|
||||
shutdown_pipelines
|
||||
else
|
||||
break
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue