diff --git a/img.js b/img.js index 3d40fd1..1e7bcf3 100644 --- a/img.js +++ b/img.js @@ -1,5 +1,5 @@ const path = require("node:path"); -const os = require("node:os"); +// const os = require("node:os"); const fs = require("node:fs"); const fsp = fs.promises; const { createHash } = require("node:crypto"); @@ -24,7 +24,7 @@ const GLOBAL_OPTIONS = { widths: ["auto"], formats: ["webp", "jpeg"], // "png", "svg", "avif" - concurrency: os.availableParallelism(), + concurrency: 4, //os.availableParallelism(), urlPath: "/img/", outputDir: "img/",