Files
awesome-tf/lychee.toml
2025-12-21 22:54:26 -05:00

31 lines
944 B
TOML

# Lychee link checker configuration
# Maximum number of retries per link
max_retries = 3
# Wait time between retries (in seconds)
retry_wait_time = 5
# Maximum number of concurrent network requests
max_concurrency = 10
# Accept 429 status codes (rate limiting) as valid after retries
# This prevents CI failures due to temporary rate limits
accept = [200, 204, 206, 429]
# Exclude flaky or bot-blocked hosts while keeping links in README
exclude = [
"^https://web\\.archive\\.org/.*",
"^https://(betterprogramming\\.pub|blog\\.pelo\\.tech|medium\\.com)/.*",
]
# Alternative: Exclude hashicorp.com if rate limiting persists
# Uncomment the line below if you want to skip hashicorp.com checks entirely
# exclude = ['https://www\.hashicorp\.com/.*']
# Cache results to avoid repeated checks
cache = true
# Use a custom user agent to be more identifiable
user_agent = "awesome-tf link checker (https://github.com/shuaibiyy/awesome-tf)"