fix: Reduce Gitea runner request frequency to prevent DDoS-like behavior
- Increase fetch_interval from 2s to 10s to reduce load on Gitea - Increase fetch_timeout from 5s to 30s for better error handling - Add documentation about runner overloading Gitea and how to fix it - Prevents 504 errors caused by runner bombarding Gitea with requests
This commit is contained in:
@@ -18,10 +18,11 @@ runner:
|
||||
insecure: true
|
||||
|
||||
# Timeout for fetching job from Gitea
|
||||
fetch_timeout: 5s
|
||||
fetch_timeout: 30s
|
||||
|
||||
# Interval for fetching jobs
|
||||
fetch_interval: 2s
|
||||
# Interval for fetching jobs (increased to reduce load on Gitea)
|
||||
# Lower values cause DDoS-like behavior when Gitea is slow or overloaded
|
||||
fetch_interval: 10s
|
||||
|
||||
cache:
|
||||
# Enable cache server
|
||||
|
||||
Reference in New Issue
Block a user