Skip to main content

task_token_temp_dir

Function task_token_temp_dir 

Source
pub fn task_token_temp_dir(
    temp_root: &str,
    task_id: i64,
    processing_token: i64,
) -> String
Expand description

Returns the temporary directory for a specific task processing token.

The processing token keeps artifacts from separate leases isolated when an old worker wakes up after a newer lease has already started.