mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-06-06 23:49:23 +00:00
Forgot to add the websocket search rate limit
This commit is contained in:
parent
4eb7d81181
commit
52dcce3043
|
@ -485,6 +485,7 @@ impl ChatServer {
|
|||
UserOperationCrud::CreatePost => rate_limiter.post().check(ip),
|
||||
UserOperationCrud::CreateCommunity => rate_limiter.register().check(ip),
|
||||
UserOperationCrud::CreateComment => rate_limiter.comment().check(ip),
|
||||
UserOperationCrud::Search => rate_limiter.search().check(ip),
|
||||
_ => true,
|
||||
};
|
||||
let fut = (message_handler_crud)(context, msg.id, user_operation_crud, data);
|
||||
|
|
Loading…
Reference in a new issue