Skip to main content

DEFAULT_STDIN_FINALIZE_TIMEOUT

Constant DEFAULT_STDIN_FINALIZE_TIMEOUT 

Source
pub const DEFAULT_STDIN_FINALIZE_TIMEOUT: Duration;
Expand description

Fallback budget for kopia’s finalize step after a stdin-fed snapshot’s writer closes, when neither the caller nor the client supplies one.

Generous on purpose — at EOF a --stdin-file snapshot has already streamed almost all of its content blobs, so the remaining work is the last blob plus the manifest, and a slow object store can still make that take minutes. The value is not a performance knob; it is the difference between “this run fails with a Timeout” and “this mover Job never ends”.