1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/docs
Elena Tanasoiu 3e45bddfbe Clarify how to run puma in single mode
When starting to transition from Unicorn to Puma, I first tried out
puma in development. I initially assumed from skimming the docs that
the number of workers for single mode should be 1. This led to our
developers not being able to kill their puma server properly in our
dev environment via Ctrl+C since the master process would stick
around and try to revive it.

Upon reading the docs more carefully and checking out the issues,
I found [I wasn't alone][issue-on-single-mode]. While it's obvious
that 1 worker implies the existence of a master process, when you're
just starting out it might take you a little while before you get
your head around single mode versus cluster mode and having the
configuration clearly stated helps with that imo.

So to make it blatantly obvious how to run puma in single mode,
I've added a line to the docs to explain it.

[issue-on-single-mode]: https://github.com/puma/puma/issues/1364
2020-07-28 18:59:43 +01:00
..
images Revert "Docs files" 2019-03-21 10:20:07 +01:00
jungle Remove daemonization (#2170) 2020-03-10 12:08:34 -06:00
architecture.md Request body read time metric 2018-04-24 16:45:15 -03:00
deployment.md Clarify how to run puma in single mode 2020-07-28 18:59:43 +01:00
fork_worker.md Fix typo in fork_worker docs [ci skip] 2020-05-11 13:55:23 +09:00
nginx.md Fix typos at couple of places. 2016-04-07 23:54:45 +05:30
plugins.md Apply @Jesus' plugin docs reformatting from #1849 2019-10-02 12:43:55 +02:00
restart.md Make restart explanation clearer (#1759) 2019-04-20 14:40:05 +09:00
signals.md Add fork_worker option and refork command 2020-05-01 17:21:32 -07:00
systemd.md Remove daemonization trace in docs [ci skip] (#2197) 2020-03-23 12:33:41 +09:00