Don't too quickly response of td-agent start/stop/restart

This commit is contained in:
uu59 2014-07-30 17:08:38 +09:00
parent e04a2d7f06
commit 24899b7a6a

View File

@ -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