v1.6.0: more options around retrying after errors
This commit is contained in:
parent
5694c1269e
commit
b0b371a279
6 changed files with 94 additions and 63 deletions
|
|
@ -52,6 +52,12 @@ directory:
|
|||
- `SCREENCAP_BOT_18PLUS`: whether posts should be flagged as
|
||||
containing 18+ content (default: `false`). this can be overridden
|
||||
for individual shows, see below.
|
||||
- `SCREENCAP_BOT_RETRY_DELAY`: if taking a capture or creating a post
|
||||
fails, wait this number of seconds before retrying (default: 30)
|
||||
- `SCREENCAP_BOT_MAX_RETRIES`: maximum number of consecutive times to
|
||||
retry after a failure before exiting with an error. This can be set
|
||||
to 0 to never retry, or set to -1 to retry indefinitely. (default:
|
||||
5)
|
||||
- `RUST_LOG`: log levels, for the app as a whole and/or for specific
|
||||
submodules/libraries. See
|
||||
[`env_logger`](https://docs.rs/env_logger/latest/env_logger/)'s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue