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

feat(gatsby): restart worker pool after query running in workers #32365

Merged
merged 2 commits into from
Jul 14, 2021

Conversation

vladar
Copy link
Contributor

@vladar vladar commented Jul 14, 2021

Description

This PR adds two things:

  1. New feature for gatsby-worker - ability to restart worker pool
  2. Actually restart worker pool after query running in workers

We need this because query workers are heavy and we don't need them holding all this memory when generating HTML or persisting state (which are also memory-heavy steps)

[ch34422]

@vladar vladar added the topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) label Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

2 participants