feat(desktop): add batch account probes

This commit is contained in:
2026-05-06 18:21:08 +08:00
parent f3487bcacf
commit bb7221d674
3 changed files with 242 additions and 2 deletions
@@ -26,7 +26,7 @@ const REGULAR_PROBE_MAX_MS = STALE_AFTER_MS
const CONFIRM_BACKOFF_STEPS_MS = [30_000, 120_000] as const
const NETWORK_RETRY_MS = 2 * 60_000
const PREFLIGHT_MAX_AGE_MS = 15 * 60_000
const MAX_CONCURRENT_ACCOUNT_PROBES = 3
const MAX_CONCURRENT_ACCOUNT_PROBES = 2
const MANUAL_PROBE_CACHE_TTL_MS = 5 * 60_000
const MANUAL_PROBE_MIN_INTERVAL_MS = 15_000
const ACCOUNT_PROBE_RETRY_BACKOFF_MS = [1_000, 3_000, 10_000] as const