Skip to main content

DEFAULT_CHALLENGE_TTL

Constant DEFAULT_CHALLENGE_TTL 

Source
pub const DEFAULT_CHALLENGE_TTL: Duration;
Expand description

Default TTL for the challenge memory: 10 minutes.

This is short enough that one-off escalations decay quickly (so a single transient captcha does not poison the policy for hours) and long enough to span a typical scraping session that might retry the same domain several times before the operator decides to back off entirely.