Method: Fluent::RedisCounterOutput#start

Defined in:
lib/fluent/plugin/out_redis_counter.rb

#startObject



32
33
34
35
36
37
38
39
# File 'lib/fluent/plugin/out_redis_counter.rb', line 32

def start
  super
  @redis = Redis.new(
    :host => @host, :port => @port,
    :password => @password,
    :thread_safe => true, :db => @db_number
  )
end