Puma: Disable automatic reforking

This commit is contained in:
Sebastian Serth
2023-11-02 17:30:42 +01:00
parent f6ff063276
commit f70a73c9a2

View File

@ -56,7 +56,9 @@ prune_bundler
# 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).
# 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.
# With `fork_worker`, we will have an implicit preloading.