Fix unreadable-literal
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
68cbf19154
commit
e5eccb3a0c
1 changed files with 1 additions and 1 deletions
|
@ -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."));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue