ckb_app_config/configs/
memory_tracker.rs

1
2
3
4
5
6
7
8
9
use serde::{Deserialize, Serialize};

/// Memory tracker config options.
#[derive(Clone, Debug, Default, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct Config {
    /// Tracking interval in seconds.
    pub interval: u64,
}