Sha256: b0b8e3d8c892a2c3467475674403bd2426458df4c954d42f6ea8e9d835c908e7

Contents?: true

Size: 426 Bytes

Versions: 59

Compression:

Stored size: 426 Bytes

Contents

# encoding: utf-8

module LogStash
  module BootstrapCheck
    class PersistedQueueConfig
      def self.check(settings)
        return unless settings.get('queue.type') == 'persisted'
        if settings.get('queue.page_capacity') > settings.get('queue.max_bytes')
          raise(LogStash::BootstrapCheckError, I18n.t("logstash.bootstrap_check.persisted_queue_config.page-capacity"))
        end
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
logstash-core-6.8.23-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.22-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.21-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.20-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.19-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.18-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.17-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.16-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.15-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.14-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.13-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.12-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.11-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.10-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.9-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.8-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.7-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-7.5.2-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-7.5.1-java lib/logstash/bootstrap_check/persisted_queue_config.rb
logstash-core-6.8.6-java lib/logstash/bootstrap_check/persisted_queue_config.rb