use usize for max_request_size config item

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-07-07 19:59:04 +00:00
parent 5af880e4f4
commit 113a27c1d5
5 changed files with 6 additions and 21 deletions

View file

@ -201,8 +201,6 @@ impl Service {
pub fn server_name(&self) -> &ServerName { self.config.server_name.as_ref() }
pub fn max_request_size(&self) -> u32 { self.config.max_request_size }
pub fn max_fetch_prev_events(&self) -> u16 { self.config.max_fetch_prev_events }
pub fn allow_registration(&self) -> bool { self.config.allow_registration }