Skip to main content

DEFAULT_IDEMPOTENCY_KEY_TTL

Constant DEFAULT_IDEMPOTENCY_KEY_TTL 

Source
pub const DEFAULT_IDEMPOTENCY_KEY_TTL: Duration;
Expand description

How long the in-memory store keeps an idempotency key by default.

One day, matching DEFAULT_IDEMPOTENCY_KEY_MAX_AGE, which is the SQL stores’ equivalent — the two backends should not disagree about how long a retry is honoured. See TaskStoreConfig::idempotency_key_ttl for what expiring a key costs.