Fix typos in env var declarations (#4696)

This commit is contained in:
Dave MacLeod 2024-09-05 15:31:10 +09:00 committed by GitHub
parent 405c96f78d
commit 441048082f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,11 +48,11 @@ pub static HTTP_MAX_KEY_BODY_SIZE: Lazy<usize> =
pub static HTTP_MAX_SIGNUP_BODY_SIZE: Lazy<usize> =
lazy_env_parse!("SURREAL_HTTP_MAX_SIGNUP_BODY_SIZE", usize, 1 << 10);
/// The maximum HTTP body size of the HTTP /key endpoints (defaults to 1 KiB)
/// The maximum HTTP body size of the HTTP /signin endpoint (defaults to 1 KiB)
pub static HTTP_MAX_SIGNIN_BODY_SIZE: Lazy<usize> =
lazy_env_parse!("SURREAL_HTTP_MAX_SIGNIN_BODY_SIZE", usize, 1 << 10);
/// The maximum HTTP body size of the HTTP /key endpoints (defaults to 4 GiB)
/// The maximum HTTP body size of the HTTP /import endpoint (defaults to 4 GiB)
pub static HTTP_MAX_IMPORT_BODY_SIZE: Lazy<usize> =
lazy_env_parse!("SURREAL_HTTP_MAX_IMPORT_BODY_SIZE", usize, 4 << 30);