pub fn new(timeout: Duration) -> Self {
        Self {
            max_batch_size: 128 << 20, // 128 MiB
            timeout,
            start_interval: Duration::from_millis(50),
            max_interval: Duration::from_secs(2),
            scale_factor: 1.5,
        }
    }
Creates retries configuration with the specified timeout.
core/lib/storage/src/db.rs