Update jdbc.rb

Logstash v5 nomenclature for threadsafety/concurrency change
This commit is contained in:
Karl 2016-10-05 11:44:03 +01:00 committed by GitHub
parent 3085606eb7
commit 318c1bd86a

View File

@ -12,7 +12,7 @@ require 'logstash-output-jdbc_jars'
# includes correctly crafting the SQL statement, and matching the number of
# parameters correctly.
class LogStash::Outputs::Jdbc < LogStash::Outputs::Base
declare_threadsafe! if self.respond_to?(:declare_threadsafe!)
concurrency :shared
STRFTIME_FMT = '%Y-%m-%d %T.%L'.freeze