Merge "s3api: Add config option to return 429s on ratelimit"

This commit is contained in:
Zuul
2021-04-13 01:42:12 +00:00
committed by Gerrit Code Review
8 changed files with 32 additions and 1 deletions

View File

@@ -635,6 +635,11 @@ use = egg:swift#s3api
# the allowed origins must be set cluster-wide. (default: blank; all
# preflight requests will be denied)
# cors_preflight_allow_origin =
#
# AWS will return a 503 Slow Down when clients are making too many requests,
# but that can make client logs confusing if they only log/give metrics on
# status ints. Turn this on to return 429 instead.
# ratelimit_as_client_error = false
# You can override the default log routing for this filter here:
# log_name = s3api