Puma: Disable automatic reforking
This commit is contained in:
@ -56,7 +56,9 @@ prune_bundler
|
|||||||
# Fork all workers from worker 0 to reduce memory footprint and allow phased restarts.
|
# Fork all workers from worker 0 to reduce memory footprint and allow phased restarts.
|
||||||
# For successful phased restarts, we need at least 3 workers (see doc).
|
# For successful phased restarts, we need at least 3 workers (see doc).
|
||||||
# See https://github.com/puma/puma/blob/master/docs/fork_worker.md.
|
# See https://github.com/puma/puma/blob/master/docs/fork_worker.md.
|
||||||
fork_worker
|
# Passing `0` will disable automatic reforking, which currently breaks with SdNotify.
|
||||||
|
# See https://github.com/puma/puma/issues/3273.
|
||||||
|
fork_worker 0
|
||||||
|
|
||||||
# Disable explicit preloading of our app.
|
# Disable explicit preloading of our app.
|
||||||
# With `fork_worker`, we will have an implicit preloading.
|
# With `fork_worker`, we will have an implicit preloading.
|
||||||
|
Reference in New Issue
Block a user