Increase the number of database concurrent connection
This commit is contained in:
parent
45ac5276d4
commit
de19c3fa5d
2 changed files with 9 additions and 1 deletions
|
|
@ -18,3 +18,5 @@ pub const SEND_EMAIL_TIMEOUT: Duration = Duration::from_secs(60);
|
|||
// 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').
|
||||
pub const REVERSE_PROXY_IP_HTTP_FIELD: &str = "x-real-ip"; // Set by the reverse proxy (Nginx).
|
||||
|
||||
pub const MAX_DB_CONNECTION: u32 = 1024;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue