Skip to content

Commit cb9b75d

Browse files
committed
force enable pqr
1 parent 39a69b8 commit cb9b75d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/gatsby/src/utils/flags.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ const activeFlags: Array<IFlag> = [
209209
umbrellaIssue: `https://gatsby.dev/lmdb-feedback`,
210210
description: `Store nodes in a persistent embedded database (vs in-memory). Lowers peak memory usage. Requires Node v14.10 or above.`,
211211
testFitness: (): fitnessEnum => {
212+
if (_CFLAGS_.GATSBY_MAJOR === `4`) {
213+
return `LOCKED_IN`
214+
}
215+
212216
const [major, minor] = process.versions.node.split(`.`)
213217
return (Number(major) === 14 && Number(minor) >= 10) || Number(major) > 14
214218
},
@@ -224,6 +228,10 @@ const activeFlags: Array<IFlag> = [
224228
description: `Parallelize running page queries in order to better saturate all available cores. Improves time it takes to run queries during gatsby build. Requires Node v14.10 or above.`,
225229
includedFlags: [`LMDB_STORE`],
226230
testFitness: (): fitnessEnum => {
231+
if (_CFLAGS_.GATSBY_MAJOR === `4`) {
232+
return `LOCKED_IN`
233+
}
234+
227235
const [major, minor] = process.versions.node.split(`.`)
228236
return (Number(major) === 14 && Number(minor) >= 10) || Number(major) > 14
229237
},

0 commit comments

Comments
 (0)