Skip to content

Commit

Permalink
Merge pull request #2654 from ganmacs/remove-unused-suppress-interval…
Browse files Browse the repository at this point in the history
…-call

No longer use the value
  • Loading branch information
ganmacs authored Oct 16, 2019
2 parents 540f0a5 + 4779086 commit b1bd1da
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/fluent/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def initialize
def init(system_config)
@system_config = system_config

suppress_interval(system_config.emit_error_log_interval) unless system_config.emit_error_log_interval.nil?
@suppress_config_dump = system_config.suppress_config_dump unless system_config.suppress_config_dump.nil?
@without_source = system_config.without_source unless system_config.without_source.nil?

Expand All @@ -76,11 +75,6 @@ def log
$log
end

def suppress_interval(interval_time)
@suppress_emit_error_log_interval = interval_time
@next_emit_error_log_time = Time.now.to_i
end

def parse_config(io, fname, basepath = Dir.pwd, v1_config = false)
if fname =~ /\.rb$/
require 'fluent/config/dsl'
Expand Down

0 comments on commit b1bd1da

Please sign in to comment.