Skip to content

Commit

Permalink
grow the filter queue when we have more workers
Browse files Browse the repository at this point in the history
  • Loading branch information
fetep committed Jul 11, 2012
1 parent 187f164 commit 48375c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstash/agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def run_with_config(config)
end

# NOTE(petef) we should have config params for queue size
@filter_queue = LogStash::SizedQueue.new(10)
@filter_queue = LogStash::SizedQueue.new(10 * @filterworker_count)
@filter_queue.logger = @logger
@output_queue = LogStash::MultiQueue.new
@output_queue.logger = @logger
Expand Down

0 comments on commit 48375c1

Please sign in to comment.