mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
remove config check
* Database load function is the wrong place for this * There's no good lower bound to check for this * Surely people setting this to a small value would realize what they're in for
This commit is contained in:
parent
279c6472c5
commit
75ef57e0ce
1 changed files with 0 additions and 7 deletions
|
|
@ -357,13 +357,6 @@ impl KeyValueDatabase {
|
|||
return Err(Error::bad_config("Registration token is empty"));
|
||||
}
|
||||
|
||||
if config.max_request_size < 1024 {
|
||||
error!(
|
||||
?config.max_request_size,
|
||||
"Max request size is less than 1KB. Please increase it.",
|
||||
);
|
||||
}
|
||||
|
||||
let db_raw = Box::new(Self {
|
||||
db: builder.clone(),
|
||||
userid_password: builder.open_tree("userid_password")?,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue