review fixes

This commit is contained in:
Marin Postma
2021-04-19 09:47:43 +02:00
parent c78f351300
commit 51829ad85e
4 changed files with 14 additions and 23 deletions

View File

@ -112,7 +112,6 @@ impl Data {
Ok(self.index_controller.get_all_stats().await?)
}
#[inline]
pub fn http_payload_size_limit(&self) -> usize {
self.options.http_payload_size_limit.get_bytes() as usize