/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
use std::num::NonZeroU64;
pub struct Config {
pub init_block_count: NonZeroU64,
pub journal_full_size: u64,
}
impl Default for Config {
fn default() -> Self {
Config {
init_block_count: NonZeroU64::new(16).unwrap(),
journal_full_size: 1000,
}
}
}