Sha256: 94c364fd8662f8aefb8fcf7c494d039bb9adcd140346387010b07b3361c5e567

Contents?: true

Size: 422 Bytes

Versions: 5

Compression:

Stored size: 422 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

Version Path
postgres-vacuum-monitor-0.10.1 lib/postgres/vacuum/configuration.rb
postgres-vacuum-monitor-0.10.0 lib/postgres/vacuum/configuration.rb
postgres-vacuum-monitor-0.9.0 lib/postgres/vacuum/configuration.rb
postgres-vacuum-monitor-0.8.0 lib/postgres/vacuum/configuration.rb
postgres-vacuum-monitor-0.7.0 lib/postgres/vacuum/configuration.rb