Skip to content

Commit

Permalink
Merge pull request #3942 from fujimotos/sf/out-file-worker-0-N
Browse files Browse the repository at this point in the history
out_file: Avoid performing multi-worker check in configure()
  • Loading branch information
ashie committed Nov 2, 2022
2 parents a777183 + 6263f74 commit 5e2ef51
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/fluent/plugin/out_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@ def configure(conf)
condition = Gem::Dependency.new('', [">= 2.7.0", "< 3.1.0"])
@need_ruby_on_macos_workaround = true if condition.match?('', RUBY_VERSION)
end

if @need_lock && @append && @fluentd_lock_dir.nil?
raise Fluent::InvalidLockDirectory, "must set FLUENTD_LOCK_DIR on multi-worker append mode"
end
end

def multi_workers_ready?
Expand Down

0 comments on commit 5e2ef51

Please sign in to comment.