Skip to main content

run_healing_a_rejected_signature

Function run_healing_a_rejected_signature 

Source
pub(crate) async fn run_healing_a_rejected_signature<T, Fut>(
    client: &Client,
    local_url: &str,
    auth_key: &str,
    run: impl Fn() -> Fut,
) -> Result<T>
where Fut: Future<Output = Result<T>>,
Expand description

run, and once more after srv rejects its signature: the key held is not the one srv has (it was replaced while this process ran), so the keys are asked for again first. A rejected call did nothing, so repeating it is safe.