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

Use FASTHTTP_PREFORK_CHILD env variable to detect child #1783

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

erikdubbelboer
Copy link
Collaborator

It's better to use an environment variable as they are more standard. They way flags are parsed isn't standardized within the Go ecosystem.

Fixes: #1782

It's better to use an environment variable as they are more standard.
They way flags are parsed isn't standardized within the Go ecosystem.

Fixes: #1782
@erikdubbelboer erikdubbelboer merged commit b001a40 into master Jun 2, 2024
19 checks passed
@erikdubbelboer erikdubbelboer deleted the prefork-environ branch June 2, 2024 08:33
@mhkarimi1383
Copy link

@erikdubbelboer There is no ETA for next release?

@erikdubbelboer
Copy link
Collaborator Author

I'll do a release tomorrow.

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.

PFlag/Cobra compatibility in prefork
2 participants