Rate limit requests from bots on Gitea #656

Merged
greg merged 2 commits from chore/rate_limit_bot_on_gitea into master 2026-08-02 19:22:12 +00:00
Owner

For now this is 240 r/m (4r/s), for Claude, Sogou and Meta user agents.
The values are pretty conservative, I initially had tighter limits.

Let's see how it goes, this is running on Fornax and Draco and right now
we're not hitting the limits.

Burst is set to 10 to try to be reasonable for loading assets.

refs #609

For now this is 240 r/m (4r/s), for Claude, Sogou and Meta user agents. The values are pretty conservative, I initially had tighter limits. Let's see how it goes, this is running on Fornax and Draco and right now we're not hitting the limits. Burst is set to 10 to try to be reasonable for loading assets. refs #609
greg added the kredits-1
service
gitea
enhancement
labels 2026-08-01 14:40:12 +00:00
greg self-assigned this 2026-08-01 14:40:12 +00:00
greg added 1 commit 2026-08-01 14:40:13 +00:00
For now this is 240 r/m (4r/s), for Claude, Sogou and Meta user agents.
The values are pretty conservative, I initially had tighter limits.
Let's see how it goes, this is running on Fornax and Draco and right now
we're not hitting the limits.
greg requested review from raucao 2026-08-01 14:40:13 +00:00
raucao approved these changes 2026-08-02 10:08:43 +00:00
raucao left a comment
Owner

Nice!

Nice!
greg added 1 commit 2026-08-02 19:21:50 +00:00
greg merged commit f5cd38c457 into master 2026-08-02 19:22:12 +00:00
greg deleted branch chore/rate_limit_bot_on_gitea 2026-08-02 19:22:13 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kosmos/chef#656