README.md in postgres-vacuum-monitor-0.15.0 vs README.md in postgres-vacuum-monitor-0.16.0
- old
+ new
@@ -32,10 +32,14 @@
```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
+ config.long_running_transaction_threshold_seconds = 10 * 60
+ # Optionally change `max_attempts` of the monitor job (default 1)
+ config.monitor_max_attempts = 3
+ # Optionally change `max_run_time` of the monitor job (default 10 seconds)
+ config.monitor_max_run_time_seconds = 5
end
```
The class needs to follow this interface:
```ruby