perf: 421 支持3次重试

This commit is contained in:
xiaojunnuo
2026-02-13 19:02:53 +08:00
parent 1195417b97
commit b91548eef4
3 changed files with 48 additions and 5 deletions

View File

@@ -13,6 +13,19 @@
// await testLocker();
import { domainUtils } from "./dist/utils/util.domain.js";
// import { domainUtils } from "./dist/utils/util.domain.js";
console.log(domainUtils.isIpv6("::0:0:0:FFFF:129.144.52.38"));
// console.log(domainUtils.isIpv6("::0:0:0:FFFF:129.144.52.38"));
// import { http } from "./dist/utils/util.request.js";
// http
// .request({
// url: "https://www.baidu.com/234234/3333",
// retry: {
// status: [404],
// },
// })
// .then(res => {
// console.log(res.data);
// });