Skip to content

Commit

Permalink
chore(gatsby): Invite more people to try QUERY_ON_DEMAND (#28327)
Browse files Browse the repository at this point in the history
* chore(gatsby): Invite more people to try QUERY_ON_DEMAND

* update message for flags
  • Loading branch information
KyleAMathews authored Nov 28, 2020
1 parent 11a0a16 commit a84f78e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/gatsby/src/services/run-page-queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from "../utils/show-experiment-notice"
import { isCI } from "gatsby-core-utils"

const TWO_MINUTES = 2 * 60 * 1000
const ONE_MINUTE = 1 * 60 * 1000

export async function runPageQueries({
parentSpan,
Expand Down Expand Up @@ -58,11 +58,11 @@ export async function runPageQueries({
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.
GATSBY_EXPERIMENTAL_QUERY_ON_DEMAND=true gatsby develop
You can enable it by adding "flags: { QUERY_ON_DEMAND: true }" to your gatsby-config.js
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
`),
TWO_MINUTES
ONE_MINUTE
)
}

Expand Down

0 comments on commit a84f78e

Please sign in to comment.