diff --git a/config/puma.rb b/config/puma.rb index d85b1048..35409fd4 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -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.