README.md in postgres-vacuum-monitor-0.6.0 vs README.md in postgres-vacuum-monitor-0.7.0
- old
+ new
@@ -31,9 +31,11 @@
The job itself needs a class to report the information and can be configured by doing:
```ruby
Postgres::Vacuum::Monitor.configure do |config|
config.monitor_reporter_class_name = 'MetricsReporter'
+ # Optionally change the default threshold of 5 minutes for reporting long running transactions
+ config.long_running_transaction_threshold_seconds = 10 * 60
end
```
The class needs to follow this interface:
```ruby