Default request limits per minute, hour and day, sized for API use (closes #176) #179

Merged
clawbot merged 1 commits from issue-176-api-request-limits into next 2026-11-04 23:02:40 +01:00
1 Commits
Author SHA1 Message Date
sneak 8bdffbd418 Default request limits per minute, hour and day, sized for API use (closes #176)
check / check (push) Successful in 7m3s
The default request limits now suit programmatic use of an API, such
as an automation fleet on another host, and still catch abusive bots:

- per minute: 500, room for a fleet's busiest minute and a few first
  visits with an empty cache, and passed within seconds by a client
  firing as fast as it can;
- per hour: 20000, passed by a client that keeps up 6 a second;
- per day: 300000, passed by a scraper that keeps up 4 a second.

The byte limits and ban lengths are unchanged. SPEC.md, README.md and
docs/settings.md give the reasons; docs/gitea.md redoes the Actions
runner sums.

Judgement call: the docs/alerts.md ban example shows the minute limit.

Model: opus-5-5
2026-11-04 21:42:33 +00:00