We want to configure the throttle on all doc's viewsets. In order to monitor them, we use the MonitoredScopedRateThrottle class and a custom callback caputing the message in sentry at the warning level.
9 lines
293 B
Plaintext
9 lines
293 B
Plaintext
# For the CI job test-e2e
|
|
BURST_THROTTLE_RATES="200/minute"
|
|
COLLABORATION_API_URL=http://y-provider:4444/collaboration/api/
|
|
SUSTAINED_THROTTLE_RATES="200/hour"
|
|
Y_PROVIDER_API_BASE_URL=http://y-provider:4444/api/
|
|
|
|
# Throttle
|
|
API_DOCUMENT_THROTTLE_RATE=1000/min
|
|
API_CONFIG_THROTTLE_RATE=1000/min |