Sha256: 3611d2403ff5afdd31d539cdade97130bab1d86e8c966f0a246bfe1700b6cce6

Contents?: true

Size: 453 Bytes

Versions: 7

Compression:

Stored size: 453 Bytes

Contents

# frozen_string_literal: true

module Postgres
  module Vacuum
    class Configuration
      DEFAULT_LONG_RUNNING_TRANSACTION_THRESHOLD_SECONDS = 5 * 60
      attr_accessor :monitor_reporter_class_name, :long_running_transaction_threshold_seconds

      def initialize
        self.monitor_reporter_class_name = nil
        self.long_running_transaction_threshold_seconds = DEFAULT_LONG_RUNNING_TRANSACTION_THRESHOLD_SECONDS
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
postgres-vacuum-monitor-0.15.0 lib/postgres/vacuum/configuration.rb
postgres-vacuum-monitor-0.14.1 lib/postgres/vacuum/configuration.rb
postgres-vacuum-monitor-0.14.0 lib/postgres/vacuum/configuration.rb
postgres-vacuum-monitor-0.13.1 lib/postgres/vacuum/configuration.rb
postgres-vacuum-monitor-0.13.0 lib/postgres/vacuum/configuration.rb
postgres-vacuum-monitor-0.12.0 lib/postgres/vacuum/configuration.rb
postgres-vacuum-monitor-0.11.0 lib/postgres/vacuum/configuration.rb