Increase the number of request/s for sign_in/sign_up
This commit is contained in:
parent
a90c097e2a
commit
ec582ad68f
2 changed files with 4 additions and 2 deletions
|
|
@ -18,8 +18,8 @@ pub const TOKEN_SIZE: usize = 32;
|
|||
|
||||
pub const SEND_EMAIL_TIMEOUT: Duration = Duration::from_secs(60);
|
||||
|
||||
pub const NUMBER_OF_CONCURRENT_HTTP_REQUEST_FOR_RATE_LIMIT: u64 = 20;
|
||||
pub const DURATION_FOR_RATE_LIMIT: Duration = Duration::from_secs(5);
|
||||
pub const NUMBER_OF_CONCURRENT_HTTP_REQUEST_FOR_RATE_LIMIT: u64 = 10;
|
||||
pub const DURATION_FOR_RATE_LIMIT: Duration = Duration::from_secs(2);
|
||||
|
||||
// HTTP headers, see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers.
|
||||
// Common headers can be found in 'axum::http::header' (which is a re-export of the create 'http').
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue