mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 01:07:09 +02:00
Don't too quickly response of td-agent start/stop/restart
This commit is contained in:
parent
e04a2d7f06
commit
24899b7a6a
@ -36,6 +36,7 @@ class Fluentd
|
||||
Bundler.with_clean_env do
|
||||
spawn(cmd)
|
||||
end
|
||||
sleep 1 # NOTE/FIXME: too early return will be caused incorrect status report, "sleep 1" is a adhoc hack
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user