Fix unreadable-literal

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-02 00:23:21 +00:00 committed by June 🍓🦴
parent 68cbf19154
commit e5eccb3a0c

View file

@ -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."));
}