1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
Commit graph

27 commits

Author SHA1 Message Date
Zachary Chai
c169853ff2 fix typo in example config 2016-05-17 10:31:15 -04:00
Max Wallace
e3c348940b Tiny fixes in hook documentation for #840 2016-04-11 06:29:32 -04:00
Evan Phoenix
c2d1577fea Better document the hooks. Fixes #840 2016-04-07 13:50:16 -07:00
YurySolovyov
048a590c4d Add additional JRuby keys explanation to config example 2015-12-01 19:35:23 +03:00
Evan Phoenix
6a7e90a16c Merge pull request #817 from unleashed/worker-boot-timeout
cluster: add worker_boot_timeout option
2015-11-06 09:57:15 -08:00
Alejandro Martinez Ruiz
a01419c9c1 cluster: add worker_boot_timeout option
When your workers are loading, the normal operation timeout is in
effect. If you spawn many workers or have them perform a lot of work
or wait for just long enough before actually booting, they will be
killed by the worker ping timeout.

If you want to control the exact timeout for your workers to boot,
specify the `worker_boot_timeout` option. Otherwise, it defaults to
the value of the `worker_timeout` option.
2015-11-06 17:46:48 +01:00
schneems
d1678f00c7 [ci skip] More explicit docs for worker_timeout
Had a customer who thought setting this was preventing against long running requests (it doesn't). These docs clarify the purpose of setting this value, that it is used to detect hung processes.
2015-11-03 09:33:49 -06:00
Alejandro Martinez Ruiz
8c2b5d511d configuration: allow empty tags to mean no tag desired
This allows you to use `tag ""` in the config file to avoid
inferring a tag.

This is useful for example in cluster mode with phased restarts
where you might want the master process to just specify the puma
version and nothing else.

Later in `on_worker_boot` you would manually modify the process
title to suit your needs if you need more specific tags.
2015-10-01 17:41:28 +02:00
Robert Murray
7289694ab7 Fix example config text
Update example config with correct text for `on_worker_*` blocks
2015-04-24 10:23:55 +01:00
Martin Konecny
b7c0dfe314 remove smart quotes from sample config file 2015-01-31 23:11:39 -05:00
Roman Simecek
42a061fb53 Update config.rb
Add the documentation for the on_worker_shutdown hook.
2015-01-13 09:44:14 +01:00
Parker Selbert
62585816ce Change umask examples to more permissive values
The existing umask examples default to no permissions at all, which
doesn't seem particularly useful to anybody. This changes the examples
to read/write, which should be a better baseline. [ci skip]
2014-11-14 12:40:49 -06:00
Evan Phoenix
f59f8d660f Merge pull request #506 from FlavourSys/config_worker_timeout
allow changing of worker_timeout in config file
2014-04-12 13:04:46 -07:00
Mario Andrés
435e4e549b preload_app! instead of preload_app
The correct property name is `preload_app!`, right?
2014-04-02 13:45:55 -05:00
Dominik Sander
0ea7af5e2c allow changing of worker_timeout in config file 2014-03-26 12:37:06 +01:00
Alessandro Lepore
1926493c65 allow tag option in conf file 2014-03-07 08:06:38 +01:00
Christopher Kuttruff
4dfec60ce7 fix typo 2014-03-06 14:16:28 -08:00
Christopher Kuttruff
9e86caa201 minor grammar tweaks 2014-03-01 16:03:40 -08:00
Christopher Kuttruff
7c0688575d add preload_app and prune_bundler to example config 2014-03-01 15:47:12 -08:00
Max Gulyaev
e5150f0792 added after worker boot hook 2014-02-26 16:06:58 +02:00
namusyaka
cb3923aabb Fix a typo. 2013-10-22 02:16:23 +09:00
niedhui
34abfa28d1 fix example config file typo of environment 2013-05-03 14:45:41 +08:00
Maik Kempe
36fbdf21c9 Minor change to sample configuration. 2013-03-18 15:42:47 -07:00
Maik Kempe
6c6596365a Added default values to sample configuration. 2013-03-18 15:42:47 -07:00
Maik Kempe
c39c373e8e Streamlined sample configuration. 2013-03-18 15:42:47 -07:00
Maik Kempe
8eedae4e8e Moved sample configuration into existing one. 2013-03-18 15:42:47 -07:00
Evan Phoenix
6103e7f45b Add ability to use a config file (-C, --config) 2011-12-06 14:57:37 -08:00