Skip to content

Commit

Permalink
enable shared socket only when multi workers configured
Browse files Browse the repository at this point in the history
  • Loading branch information
tagomoris committed Jan 10, 2017
1 parent 1e026a4 commit ec6a29a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/in_forward.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def multi_workers_ready?
def start
super

shared_socket = false # TODO: turn it true if configured as multi workers
shared_socket = system_config.workers > 1

log.info "listening a tcp port", port: @port, bind: @bind
server_create_connection(
Expand Down

0 comments on commit ec6a29a

Please sign in to comment.