prepull
This commit is contained in:
@@ -190,7 +190,7 @@ export class RateLimiter {
|
||||
* @param interval In seconds: rate at which hit counts will be cleared
|
||||
* @param limit Number of hits (inclusive) before requests are blocked
|
||||
*/
|
||||
constructor(interval: number = 20, limit: number = 2) {
|
||||
constructor(interval: number = 60, limit: number = 10) {
|
||||
this.#hitLimit = limit;
|
||||
|
||||
this.#intervalId = setInterval(() => {
|
||||
|
||||
Reference in New Issue
Block a user