Added user-configurable rate limiting

This commit is contained in:
John Crepezzi 2016-03-06 16:20:40 -05:00
commit 84c909a5db
3 changed files with 72 additions and 38 deletions

View file

@ -23,6 +23,15 @@
"type": "phonetic"
},
"rateLimits": {
"categories": {
"normal": {
"totalRequests": 500,
"every": 60000
}
}
},
"storage": {
"type": "redis",
"host": "0.0.0.0",