Raise the upload rate limit to 30/min, burst 20
Dropping several pictures onto a canvas page uploads them all at once, which the old 5/min, burst 3 limit cut off after three. Uploading needs a signed-in user and accounts are admin-created, so a far higher ceiling is still safe against filling the volume. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -54,7 +54,7 @@ http {
|
||||
# kept equal to production so a limit that would bite there bites here too.
|
||||
limit_req_zone $binary_remote_addr zone=login:10m rate=5r/m;
|
||||
limit_req_zone $binary_remote_addr zone=api:10m rate=30r/s;
|
||||
limit_req_zone $binary_remote_addr zone=upload:10m rate=5r/m;
|
||||
limit_req_zone $binary_remote_addr zone=upload:10m rate=30r/m;
|
||||
limit_req_zone $binary_remote_addr zone=hotel_search:10m rate=3r/m;
|
||||
|
||||
log_format compact
|
||||
|
||||
Reference in New Issue
Block a user