ITADN

--waitretry is not working ;-;

#383Closedghost 创建于 2026-03-13
G
ghostcommented
wget is great project !! wget is configured with --waitretry 10, but it always retries at 1-sec wait. If 429,503 is returned, a 10-sec wait is required before the next request. Please me what I need to do to enable the --waitretry option. ``` batch --waitretry Wait up to number of seconds after error (per thread). (default: 10) ``` ``` javascript const http = require('http'); http.createServer((req, res) => { res.writeHead(429); res.end(); }).listen(8082); ``` That URL will always answer with code 429; Many Requests. ``` batch wget http://localhost:8082/ --tries=0 --retry-on-http-error=429 --waitretry=10 ```
关闭于 2026-05-16 1 条评论