reactivar keepalive y aumentar timeout connect

This commit is contained in:
Cat /dev/Nulo 2023-12-18 12:46:34 -03:00
parent 8708f13838
commit cf46317d7b

View file

@ -3,7 +3,7 @@ import pLimit from "p-limit";
import { userAgent } from "./config.js"; import { userAgent } from "./config.js";
const dispatcher = new Agent({ const dispatcher = new Agent({
pipelining: 0, connect: { timeout: 60 * 1000 },
bodyTimeout: 15 * 60 * 1000, bodyTimeout: 15 * 60 * 1000,
maxRedirections: 20, maxRedirections: 20,
}); });