0g-storage-node/node/sync/src/auto_sync/mod.rs

11 lines
232 B
Rust
Raw Normal View History

mod batcher;
pub mod batcher_random;
pub mod batcher_serial;
2024-01-03 10:24:52 +00:00
mod sync_store;
mod tx_store;
use std::time::Duration;
const INTERVAL_IDLE: Duration = Duration::from_secs(3);
const INTERVAL_ERROR: Duration = Duration::from_secs(10);