From e5eccb3a0c43892587ea1a3e32b51b851eafd65f Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 2 Jun 2024 00:23:21 +0000 Subject: [PATCH] Fix unreadable-literal Signed-off-by: Jason Volk --- src/core/config/check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/config/check.rs b/src/core/config/check.rs index 99ca3cfd..a631c4f8 100644 --- a/src/core/config/check.rs +++ b/src/core/config/check.rs @@ -91,7 +91,7 @@ pub fn check(config: &Config) -> Result<(), Error> { return Err(Error::bad_config("Registration token was specified but is empty (\"\")")); } - if config.max_request_size < 5120000 { + if config.max_request_size < 5_120_000 { return Err(Error::bad_config("Max request size is less than 5MB. Please increase it.")); }