mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-20 21:03:09 -07:00
Added user-configurable rate limiting
This commit is contained in:
parent
45e19bc7cc
commit
84c909a5db
3 changed files with 72 additions and 38 deletions
|
@ -23,6 +23,15 @@
|
|||
"type": "phonetic"
|
||||
},
|
||||
|
||||
"rateLimits": {
|
||||
"categories": {
|
||||
"normal": {
|
||||
"totalRequests": 500,
|
||||
"every": 60000
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"storage": {
|
||||
"type": "redis",
|
||||
"host": "0.0.0.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue