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(docker): remove GRAPHILE_TURBO #1407

Merged
merged 1 commit into from Nov 30, 2020
Merged

fix(docker): remove GRAPHILE_TURBO #1407

merged 1 commit into from Nov 30, 2020

Conversation

benjie
Copy link
Member

@benjie benjie commented Nov 30, 2020

Description

Dockerfile references Node 12; GRAPHILE_TURBO now requires Node 14

Performance impact

The Docker Hub image will run slower; npm build is unaffected.

Security impact

None.

Dockerfile references Node 12; GRAPHILE_TURBO now requires Node 14
@benjie benjie merged commit af39c3d into v4 Nov 30, 2020
@benjie benjie deleted the docker-no-turbo branch November 30, 2020 19:07
@EyMaddis
Copy link
Contributor

EyMaddis commented Dec 6, 2020

@benjie According to this file it is still v12:
https://github.com/graphile/postgraphile/blob/af39c3dcea40646c9217785fa93a9601612c2b83/isTurbo.js#L4

Cannot document what this actually does? I only found https://medium.com/graphile/how-i-made-postgraphile-faster-than-prisma-1-year-later-e6bf3a802f58 is still still correct?

@benjie
Copy link
Member Author

benjie commented Dec 7, 2020

GRAPHILE_TURBO is a flag that opts you into optimisations only available in the latest release of Node.js (changes over time). It’s a moving target, hence it is an opt-in flag. Remove it and all should be well.

@EyMaddis
Copy link
Contributor

EyMaddis commented Dec 8, 2020

I did not mean that I got the error, I wanted to point out that the error message is wrong

@benjie
Copy link
Member Author

benjie commented Dec 8, 2020

Ah yeah; I have a PR for that: #1411

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants