forked from shuaibiyy/awesome-tf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlychee.toml
More file actions
32 lines (24 loc) · 1.02 KB
/
Copy pathlychee.toml
File metadata and controls
32 lines (24 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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
# WARNING: uncommenting the line below REPLACES the entire exclude array above,
# not adds to it. Add hashicorp.com as an additional entry in the array instead.
# exclude = ['https://www\.hashicorp\.com/.*']
# Cache results to avoid repeated checks
cache = true
max_cache_age = "7d"
# Use a custom user agent to be more identifiable
user_agent = "awesome-tf link checker (https://github.com/shuaibiyy/awesome-tf)"