Skip to main content

validate_restore_timeout_secs

Function validate_restore_timeout_secs 

Source
pub fn validate_restore_timeout_secs(
    driver: DriverKindArg,
    restore_timeout_secs: u64,
) -> Result<()>
Expand description

Validates the restore budget shared by CLI and HTTP-started tunes.

Every driver requires a positive timeout. OPC DA additionally needs the complete fixed MV confirmation window so the authoritative restore can be read back before the operation is declared successful.