refactor(task): move retry primitives into the task crate

This commit is contained in:
Tunglies
2026-12-02 02:10:09 +08:00
committed by GitHub
parent 87b3cf6561
commit 59e315abeb
13 changed files with 69 additions and 69 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ impl CoreManager {
anyhow::bail!("core startup blocked after mixed proxy port fallback failure: {reason}");
}
use crate::utils::retry::{RetryError, RetryPolicy, retry};
use clash_verge_task::retry::{RetryError, RetryPolicy, retry};
retry(
RetryPolicy::fixed(
std::num::NonZeroUsize::MIN.saturating_add(MAX_PORT_FALLBACK_RETRIES),