File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ use std::sync::Mutex;
1313use thiserror:: Error ;
1414
1515/// Maximum number of invites allowed per IP within the time window
16- const MAX_INVITES_PER_WINDOW : usize = 5 ;
16+ const MAX_INVITES_PER_WINDOW : usize = 20 ;
1717
1818/// SHA256 hashes of IPs exempt from rate limiting (for testing)
1919const EXEMPT_IP_HASHES : & [ & str ] = & [
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ async fn create_room_invite(
366366 return Err ( (
367367 StatusCode :: TOO_MANY_REQUESTS ,
368368 Json ( InviteErrorResponse {
369- error : "Rate limited. You can request up to 5 invites per 24 hours." . to_string ( ) ,
369+ error : "Rate limited. You can request up to 20 invites per 24 hours." . to_string ( ) ,
370370 retry_after_seconds : retry_after,
371371 } ) ,
372372 ) ) ;
You can’t perform that action at this time.
0 commit comments