prepull
This commit is contained in:
8
.gitignore
vendored
8
.gitignore
vendored
@@ -130,9 +130,11 @@ dist
|
||||
.pnp.*
|
||||
|
||||
# galvanic corrosion
|
||||
build/
|
||||
/build/
|
||||
config.json
|
||||
/user/
|
||||
|
||||
.vscode
|
||||
# used to attach license to each file
|
||||
/append.ts
|
||||
|
||||
# development purposes
|
||||
/graph.svg
|
||||
@@ -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