valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.94k stars 1.76k forks source link

Use FASTHTTP_PREFORK_CHILD env variable to detect child #1783

Closed erikdubbelboer closed 5 months ago

erikdubbelboer commented 5 months ago

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: https://github.com/valyala/fasthttp/issues/1782

mhkarimi1383 commented 5 months ago

@erikdubbelboer There is no ETA for next release?

erikdubbelboer commented 5 months ago

I'll do a release tomorrow.