mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 23:44:22 +00:00
Increase default rate limit
This commit is contained in:
@@ -33,8 +33,8 @@ func DefaultConfig() *Config {
|
|||||||
WorkDir: "./data",
|
WorkDir: "./data",
|
||||||
StaticPath: "../frontend/dist",
|
StaticPath: "../frontend/dist",
|
||||||
Port: "8080",
|
Port: "8080",
|
||||||
RateLimitRequests: int(10),
|
RateLimitRequests: 100,
|
||||||
RateLimitWindow: time.Minute,
|
RateLimitWindow: time.Minute * 15,
|
||||||
IsDevelopment: false,
|
IsDevelopment: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user