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:
2025-11-08 17:56:11 +01:00
parent 52023081ab
commit af98069eba
2 changed files with 18 additions and 3 deletions

View File

@@ -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