mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-31 20:00:24 +00:00
Add description for max-cache-age flag
This commit is contained in:
parent
994aadf6a1
commit
4630216c30
2 changed files with 2 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ OPTIONS:
|
|||
limiting [env: GITHUB_TOKEN]
|
||||
-h, --headers <headers>... Custom request headers
|
||||
--include <include>... URLs to check (supports regex). Has preference over all excludes
|
||||
--max-cache-age <max-cache-age> [default: 1d]
|
||||
--max-cache-age <max-cache-age> Discard all cached requests older than this duration [default: 1d]
|
||||
--max-concurrency <max-concurrency> Maximum number of concurrent network requests [default: 128]
|
||||
-m, --max-redirects <max-redirects> Maximum number of allowed redirects [default: 5]
|
||||
--max-retries <max-retries> Maximum number of retries per request [default: 3]
|
||||
|
|
|
|||
|
|
@ -151,6 +151,7 @@ pub(crate) struct Config {
|
|||
#[serde(default)]
|
||||
pub(crate) cache: bool,
|
||||
|
||||
/// Discard all cached requests older than this duration
|
||||
#[structopt(
|
||||
long,
|
||||
parse(try_from_str = humantime::parse_duration),
|
||||
|
|
|
|||
Loading…
Reference in a new issue