Daniel Shelton
af3d62c46a
Attempting to debug why background jobs aren't always waited for
2014-08-06 11:50:04 +01:00
Daniel Shelton
b32f32753d
Fixed whitespace
2014-08-01 11:28:33 +01:00
Daniel Shelton
e4ea4fb46d
Added on_worker_shutdown hook mechanism
2014-08-01 11:04:39 +01:00
Mathieu Allaire
e8fb94bb02
Typo BUNDLER_GEMFILE -> BUNDLE_GEMFILE
2014-05-26 23:25:58 -04:00
Marwan Al Jubeh
0a49a6806e
During upgrade, change directory in main process instead of workers.
...
This Fixes #468 by making sure the new `cwd` will be used for all the
workers spawned in the future.
2014-04-12 13:54:07 -07:00
Evan Phoenix
84b7b6a674
Add prune_bundler option
...
This option makes it possible to specify puma in a Gemfile, but then
have puma use future Gemfiles in future releases when those releases are
seen via cluster workers.
Basically, this implements the feature that many people want: the
ability to specify puma in a context file and have restarts pickup
Gemfile changes.
2014-02-28 14:19:51 -08:00
Max Gulyaev
e5150f0792
added after worker boot hook
2014-02-26 16:06:58 +02:00
rubencaro
350ba6f3c7
Add booted_workers to stats response
2014-02-21 11:59:06 +01:00
Sudara
fdb4d27967
Assure worker index always within 0...@options[:workers]
2014-01-27 13:13:48 +01:00
Evan Phoenix
ef4e55a5b7
Add ability to detect and terminate hung workers. Fixes #333
2014-01-25 16:54:40 -08:00
Evan Phoenix
ff0d3b553d
Add worker indexes, expose them via on_worker_boot. Fixes #440
2014-01-25 13:53:02 -08:00
Edwin Cruz
95116f1606
Adding TTIN and TTOU to increment/decrement workers
2013-10-28 15:21:53 -07:00
Dmitry Krasnoukhov
bd7259fe2d
Convince workers to stop by SIGKILL after timeout
2013-08-30 21:52:39 +03:00
Evan Phoenix
09eb0cc020
Make phased_restart fallback to restart if not available
2013-07-18 17:09:18 -07:00
Evan Phoenix
c68ea5e46b
Move starting control server to after daemonization
2013-07-08 22:36:50 -07:00
Evan Phoenix
e70a370e2d
More cleanup
2013-07-05 21:13:29 -07:00
Evan Phoenix
f2e11d1b52
A bit more cleanup
2013-07-05 17:09:18 -07:00
Evan Phoenix
662852ce4f
Pass Events around more, add Events#on_booted
2013-07-05 16:54:15 -07:00
Evan Phoenix
c48b804d8f
Refactor modes, fix control server to always work
2013-07-05 16:08:13 -07:00