README.md in tobox-0.5.0 vs README.md in tobox-0.5.1
- old
+ new
@@ -239,10 +239,14 @@
### `shutdown_timeout`
Time (in seconds) to wait for events to finishing processing, before hard-killing the process.
+### `grace_shutdown_timeout`
+
+Grace period (in seconds) to wait after, hard-killing the work in progress, and before exiting the process.
+
### `on(event_type) { |before, after| }`
callback executed when processing an event of the given type. By default, it'll yield the state of data before and after the event (unless `message_to_arguments` is set).
```ruby
@@ -581,9 +585,10 @@
# }
#
# now you can send them to your statsd collector
#
StatsD.gauge('outbox_pending_backlog', stats[:pending_count])
+ StatsD.gauge('outbox_oldest_message_age', stats[:oldest_event_age_in_seconds])
end
```
#### Bring your own leader election