mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-06-02 05:50:20 +00:00
Increase default search rate limit. (#2424)
This commit is contained in:
parent
90b704f88f
commit
4528658999
|
@ -36,7 +36,7 @@
|
|||
comment: 6
|
||||
# Interval length for comment limit, in seconds
|
||||
comment_per_second: 600
|
||||
search: 6
|
||||
search: 60
|
||||
# Interval length for search limit, in seconds
|
||||
search_per_second: 600
|
||||
}
|
||||
|
|
|
@ -170,7 +170,7 @@ pub struct RateLimitConfig {
|
|||
/// Interval length for comment limit, in seconds
|
||||
#[default(600)]
|
||||
pub comment_per_second: i32,
|
||||
#[default(6)]
|
||||
#[default(60)]
|
||||
pub search: i32,
|
||||
/// Interval length for search limit, in seconds
|
||||
#[default(600)]
|
||||
|
|
Loading…
Reference in a new issue