mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 08:11:20 +00:00
A better login cooldown.
This commit is contained in:
parent
c226e8e7b9
commit
8f4ad8eb29
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ use api::site::*;
|
|||
|
||||
const RATE_LIMIT_MESSAGES: i32 = 30;
|
||||
const RATE_LIMIT_PER_SECOND: i32 = 60;
|
||||
const RATE_LIMIT_REGISTER_MESSAGES: i32 = 1;
|
||||
const RATE_LIMIT_REGISTER_PER_SECOND: i32 = 60;
|
||||
const RATE_LIMIT_REGISTER_MESSAGES: i32 = 3;
|
||||
const RATE_LIMIT_REGISTER_PER_SECOND: i32 = 60*3;
|
||||
|
||||
|
||||
/// Chat server sends this messages to session
|
||||
|
|
Loading…
Reference in a new issue