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

This commit is contained in:
Tunglies
2026-11-30 18:48:04 +08:00
parent 03554601a6
commit 75910b8db8
13 changed files with 69 additions and 69 deletions
+1 -1
View File
@@ -237,7 +237,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),