1
0
mirror of https://github.com/seejohnrun/haste-server.git synced 2025-12-13 03:05:55 +00:00

Added user-configurable rate limiting

This commit is contained in:
John Crepezzi
2016-03-06 16:20:40 -05:00
parent 45e19bc7cc
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",