doc: remove comment about backoff

This commit is contained in:
Joonas Koivunen
2023-08-29 12:04:34 +03:00
parent ffe0f90083
commit 91b64427ed

View File

@@ -720,9 +720,7 @@ impl LayerInner {
);
let backoff = std::time::Duration::from_secs_f64(backoff);
// unless we get cancelled, we will hold off the init semaphore
tokio::time::sleep(backoff).await;
Err(DownloadError::DownloadFailed)
}
Err(_gone) => Err(DownloadError::DownloadCancelled),