Use a dedicated scope for throttling subsonic to avoid intrusive rate-limiting
This commit is contained in:
parent
82692f1170
commit
9d73a77f7e
3 changed files with 6 additions and 0 deletions
|
|
@ -759,6 +759,10 @@ THROTTLING_RATES = {
|
|||
"rate": THROTTLING_USER_RATES.get("anonymous-update", "1000/day"),
|
||||
"description": "Anonymous PATCH and PUT requests on resource detail",
|
||||
},
|
||||
"subsonic": {
|
||||
"rate": THROTTLING_USER_RATES.get("subsonic", "1000/hour"),
|
||||
"description": "All subsonic API requests",
|
||||
},
|
||||
# potentially spammy / dangerous endpoints
|
||||
"authenticated-reports": {
|
||||
"rate": THROTTLING_USER_RATES.get("authenticated-reports", "100/day"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue