We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f660491 commit 8f44086Copy full SHA for 8f44086
packages/gatsby-plugin-sharp/src/process-file.js
@@ -20,7 +20,7 @@ try {
20
// Handle Sharp's concurrency based on the Gatsby CPU count
21
// See: http://sharp.pixelplumbing.com/en/stable/api-utility/#concurrency
22
// See: https://www.gatsbyjs.org/docs/multi-core-builds/
23
- const cpuCoreCount = require(`gatsby/dist/utils/cpu-core-count`)
+ const cpuCoreCount = require(`gatsby/dist/utils/worker/cpu-core-count`)
24
sharp.concurrency(cpuCoreCount())
25
} catch {
26
// if above throws error this probably means that used Gatsby version
0 commit comments