Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Automatically retries HTTP requests with exponential backoff, timeout control, and connection pooling to handle network errors and rate limits.
Automatically retries HTTP requests with exponential backoff, timeout control, and connection pooling to handle network errors and rate limits.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
触发词: timeouterror, econnreset, econnrefused, 429, retry, http error, 网络超时
网络请求失败(超时、连接重置、限流)导致服务不稳定
指数退避 + 超时控制 + 连接池复用 async function fetchWithRetry(url, options = {}, maxRetries = 3) { const { retryDelay = 1000, timeout = 30000 } = options; for (let attempt = 0; attempt <= maxRetries; attempt++) { try { const controller = new AbortController(); const timeoutId = setTimeout(() => controller.abort(), timeout); const response = await fetch(url, { ...options, signal: controller.signal }); clearTimeout(timeoutId); if (response.status === 429 || response.status >= 500) { await new Promise(r => setTimeout(r, retryDelay * Math.pow(2, attempt))); continue; } return response; } catch (err) { if (attempt === maxRetries) throw err; await new Promise(r => setTimeout(r, retryDelay * Math.pow(2, attempt))); } } }
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.