Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
out_file: Avoid performing multi-worker check in configure()
The check did not work well with `<worker 0-N>` directive for the following reasons: * When Fluentd starts up, supervisor performs sanity check on configuration by creating actual instances of plugins. * This check precedes SeverModule, which prepares various assets for workers (lockdir, RPC endpoints and shared sockets etc.) * Fluent::Plugin::Base dynamically overrides `system_config.workers` during start-up, and leaves the value > 1 only when `<worker 0-N>` directive is used. Fix this issue by avoiding faulty sanity check in `configure()`. Signed-off-by: Fujimoto Seiji <[email protected]>
- Loading branch information