Proxy api1 status request

This commit is contained in:
Dominik Werder
2023-02-06 12:11:45 +01:00
parent c9f39d5574
commit d54c207164
10 changed files with 141 additions and 9 deletions

View File

@@ -1819,6 +1819,14 @@ pub struct PerfOpts {
pub inmem_bufcap: usize,
}
impl PerfOpts {
pub fn default() -> Self {
Self {
inmem_bufcap: 1024 * 512,
}
}
}
#[derive(Clone, Debug)]
pub struct ByteSize(pub u32);