Adjust rate limit for proxy endpoint

This commit is contained in:
zima 2024-12-25 18:46:19 -07:00
parent a85253ff44
commit a4a56e8b7e

View file

@ -646,8 +646,9 @@ export class FileServerService {
key: group, key: group,
// Maximum of 3600 requests per hour, which is an average of 1 per second. // Maximum of 3600 requests per hour, which is an average of 1 per second.
max: 3600, // TODO: Revert to above after caching is fixed on cdn
duration: 1000 * 60 * 60, max: 10000,
duration: 1000 * 60 * 10,
}; };
return await this.checkLimit(reply, actor, limit); return await this.checkLimit(reply, actor, limit);