Add rate limiting to production endpoints #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Only
/demohas rate limiting. Production needs limits on/jobsand/sessionsto prevent abuse.
Requirements
POST /api/jobs— e.g. 30 req/min per IPPOST /api/sessions— e.g. 10 req/min per IPPOST /api/bootstrap— e.g. 3 req/hour per IPexpress-rate-limit(already in the ecosystem)429 Too Many RequestswithRetry-AfterheaderAcceptance Criteria
References