Update jdbc.rb

Update plugin so that the max_pool_size matches documentation.
This commit is contained in:
Karl 2017-11-08 12:47:55 +00:00 committed by GitHub
parent 079c3a6c78
commit 6b5398b152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ class LogStash::Outputs::Jdbc < LogStash::Outputs::Base
config :unsafe_statement, validate: :boolean, default: false config :unsafe_statement, validate: :boolean, default: false
# Number of connections in the pool to maintain # Number of connections in the pool to maintain
config :max_pool_size, validate: :number, default: 24 config :max_pool_size, validate: :number, default: 5
# Connection timeout # Connection timeout
config :connection_timeout, validate: :number, default: 10000 config :connection_timeout, validate: :number, default: 10000