Skip to content

Commit a84f78e

Browse files
authored
chore(gatsby): Invite more people to try QUERY_ON_DEMAND (#28327)
* chore(gatsby): Invite more people to try QUERY_ON_DEMAND * update message for flags
1 parent 11a0a16 commit a84f78e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/gatsby/src/services/run-page-queries.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from "../utils/show-experiment-notice"
99
import { isCI } from "gatsby-core-utils"
1010

11-
const TWO_MINUTES = 2 * 60 * 1000
11+
const ONE_MINUTE = 1 * 60 * 1000
1212

1313
export async function runPageQueries({
1414
parentSpan,
@@ -58,11 +58,11 @@ export async function runPageQueries({
5858
5959
If you're interested in trialing out one of these future improvements *today* which should make your local development experience faster, go ahead and run your site with QUERY_ON_DEMAND enabled.
6060
61-
GATSBY_EXPERIMENTAL_QUERY_ON_DEMAND=true gatsby develop
61+
You can enable it by adding "flags: { QUERY_ON_DEMAND: true }" to your gatsby-config.js
6262
6363
Please do let us know how it goes (good, bad, or otherwise) and learn more about it at https://gatsby.dev/query-on-demand-feedback
6464
`),
65-
TWO_MINUTES
65+
ONE_MINUTE
6666
)
6767
}
6868

0 commit comments

Comments
 (0)