Closed mellelieuwes closed 2 months ago
A new runtime env variable is introduced: RATE_QUOTAS
The value is a string with a json list with objects that have the following properties:
Scope local
means one ip adres, global
means all users.
Example:
[ {\"service\": \"storage_export\", \"limit\": 10, \"unit\": \"call\", \"window\": \"minute\", \"scope\": \"local\"}, {\"service\": \"storage_export\", \"limit\": 1000000, \"unit\": \"byte\", \"window\": \"day\", \"scope\": \"local\"}, {\"service\": \"storage_export\", \"limit\": 100000000, \"unit\": \"byte\", \"window\": \"day\", \"scope\": \"global\"} ]
werkt goed
quotas: [ [service: :storage_export, limit: 10, unit: :call, window: :minute, scope: :local], [service: :azure_blob, limit: 1, unit: :call, window: :second, scope: :local], [service: :azure_blob, limit: 100, unit: :byte, window: :second, scope: :local] ]