Commit 0981ebe 1 parent ed83ab2 commit 0981ebe Copy full SHA for 0981ebe
File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -419,20 +419,20 @@ We support rate limiting i.e functionality to limit calls per consumer key (App)
419
419
It is assumed that you have a Redis instance if you wan to use the functionality. In order to make it work edit your props file in next way:
420
420
```
421
421
use_consumer_limits=false, In case isn't defined default value is "false"
422
- redis_address=YOUR_REDIS_URL_ADDRESS for instance 127.0.0.1
423
- redis_port=YOUR_REDIS_PORT for intance 6379
422
+ redis_address=YOUR_REDIS_URL_ADDRESS, In case isn't defined default value is 127.0.0.1
423
+ redis_port=YOUR_REDIS_PORT, In case isn't defined default value is 6379
424
424
```
425
425
Next types are supported:
426
426
```
427
- 1 per minute
428
- 2 per hour
429
- 3 per day
430
- 4 per week
431
- 5 per month
432
- 6 per year
427
+ 1. per minute
428
+ 2. per hour
429
+ 3. per day
430
+ 4. per week
431
+ 5. per month
432
+ 6. per year
433
433
```
434
434
If you exced rate limit per minute for instance you will get the response:
435
- ```
435
+ ``` json
436
436
{
437
437
"error" : " OBP-10018: Too Many Requests.We only allow 3 requests per minute to this Web site per logged in user."
438
438
}
You can’t perform that action at this time.
0 commit comments