mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-12-04 05:00:05 +08:00
refactor(task): move retry primitives into the task crate
This commit is contained in:
@@ -109,7 +109,7 @@ fn current_user_home() -> anyhow::Result<PathBuf> {
|
||||
}
|
||||
.max(1024);
|
||||
|
||||
use crate::utils::retry::{RetryError, RetryPolicy, retry_sync};
|
||||
use clash_verge_task::retry::{RetryError, RetryPolicy, retry_sync};
|
||||
retry_sync(
|
||||
RetryPolicy::fixed(
|
||||
std::num::NonZeroUsize::MIN.saturating_add(11),
|
||||
|
||||
Reference in New Issue
Block a user