remove `minInterval` from `FileServerService`

when showing a reply, browser will request the replied-to avatar twice
at the same time, and get confused if one of the requests is refused

something similar seems to happen with videos and their previews
This commit is contained in:
dakkar 2024-11-22 23:25:07 +00:00
parent 8e07eb7f44
commit a51fef29c0
1 changed files with 0 additions and 3 deletions

View File

@ -629,9 +629,6 @@ export class FileServerService {
// Maximum of 10 requests / 10 minutes // Maximum of 10 requests / 10 minutes
max: 10, max: 10,
duration: 1000 * 60 * 10, duration: 1000 * 60 * 10,
// Minimum of 250 ms between each request
minInterval: 250,
}; };
// Rate limit proxy requests // Rate limit proxy requests