Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gatsby): use lmdb for resultHash cache so shared across workers #34925

Merged
merged 10 commits into from
Mar 11, 2022

Conversation

imjoshin
Copy link
Contributor

Description

Cherry-picks 7c51853 as well as adds an invalidation step before workers are spawned.

Documentation

[sc-45891]

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Feb 24, 2022
packages/gatsby/src/query/query-runner.ts Outdated Show resolved Hide resolved
packages/gatsby/src/query/query-runner.ts Outdated Show resolved Hide resolved
packages/gatsby/src/query/query-runner.ts Outdated Show resolved Hide resolved
@LekoArts LekoArts added topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Mar 9, 2022
Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thank you!

@pieh pieh added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Mar 11, 2022
@gatsbybot gatsbybot merged commit a5cd72a into master Mar 11, 2022
@gatsbybot gatsbybot deleted the lmdb-resulthash-cache branch March 11, 2022 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants