We (@sdomi and myself) host two, soon three, separate forgejo actions runners connected to Codeberg. As far as I can tell this is necessary because there can only be one registration of a runner to an organization or user, and they are for https://codeberg.org/linusg, https://codeberg.org/kiesel-js, and https://codeberg.org/servfail respectively.
Because they all run on the same host we sometimes get rate limited. I'm not sure if the forgejo actions runner is expected to handle this gracefully, perhaps it would after #944? At the moment it seems it just keeps sending out more requests and the only solution is to manually stop the affected runner(s), wait for some time, and restart it.
We tried bumping the fetch interval from the default of 2s to 20s and still ran into issues, for now I set them all to 60s which is not acceptable IMO.
Would it be possible to do either of these until the runner handles this in a better way?
- Increase the rate limit for runner-specific endpoints
- Increase the rate limit for specific users/orgs (I'm a member of Codeberg e.V. and actively use the platform for all of my current projects)
- Increase the rate limit for this specific host (
185.236.240.103 / 2a0d:eb00:8006:acab:212:fdff:feaa:aaaa, aka sakamoto.pl)
Thanks!
### Comment
We (@sdomi and myself) host two, soon three, separate forgejo actions runners connected to Codeberg. As far as I can tell this is necessary because there can only be one registration of a runner to an organization or user, and they are for https://codeberg.org/linusg, https://codeberg.org/kiesel-js, and https://codeberg.org/servfail respectively.
Because they all run on the same host we sometimes get rate limited. I'm not sure if the forgejo actions runner is expected to handle this gracefully, perhaps it would after #944? At the moment it seems it just keeps sending out more requests and the only solution is to manually stop the affected runner(s), wait for some time, and restart it.
We tried bumping the fetch interval from the default of 2s to 20s and still ran into issues, for now I set them all to 60s which is not acceptable IMO.
Would it be possible to do either of these until the runner handles this in a better way?
- Increase the rate limit for runner-specific endpoints
- Increase the rate limit for specific users/orgs (I'm a member of Codeberg e.V. and actively use the platform for all of my current projects)
- Increase the rate limit for this specific host (`185.236.240.103` / `2a0d:eb00:8006:acab:212:fdff:feaa:aaaa`, aka `sakamoto.pl`)
Thanks!