# LastID SDK - Production Configuration
#
# Use this configuration for production deployments.
# Copy to /etc/lastid/config.toml or ~/.config/lastid/config.toml

# Production IDP endpoint
idp_endpoint = "https://human.lastid.co"

# Optional: Custom trust registry endpoint (defaults to {idp_endpoint}/v1/trust-registry)
# trust_registry_endpoint = "https://custom-registry.lastid.co/v1/trust-registry"

# HTTP request timeout
timeout_seconds = 30

# Polling configuration - production-appropriate timeouts
[polling]
initial_interval_ms = 2000
max_interval_ms = 30000
max_duration_seconds = 300
backoff_multiplier = 1.5

# Retry policy - resilient to transient failures
[retry]
max_attempts = 3
initial_delay_ms = 1000
max_delay_ms = 30000
backoff_base = 2.0

# Cache configuration - standard 60s TTL
[cache]
enabled = true
ttl_seconds = 60
max_entries = 1000
