Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the worker lock work in '--daemon' mode as well #3864

Merged
merged 1 commit into from
Aug 19, 2022

Commits on Aug 19, 2022

  1. Make the worker lock work in '--daemon' mode as well

    75ef92f introduced automatic clean up as follows:
    
        Dir.mktmpdir("fluentd-lock-") do |lock_dir|
            ENV['FLUENTD_LOCK_DIR'] = lock_dir
            se.run
        end
    
    This does not work with `--daemon`, because `se.run` will not
    block with that option. Fix this issue by reverting to the manual
    clean up method in the initial version.
    
    Signed-off-by: Fujimoto Seiji <fujimoto@ceptord.net>
    fujimotos committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    26425d8 View commit details
    Browse the repository at this point in the history