Skip to content

Commit

Permalink
Hardcode to 4 concurrency for Windows testing
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Dec 13, 2024
1 parent 4d13ba9 commit 23d278a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions img.js
Original file line number Diff line number Diff line change
@@ -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");
Expand All @@ -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/",
Expand Down

0 comments on commit 23d278a

Please sign in to comment.