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

24 commits

Author SHA1 Message Date
Case Taintor
839c0988c0 Improves the clustered stats to report worker stats 2016-02-20 20:34:07 +02:00
Evan Phoenix
f788af0c8f Continue API cleanup, preparing for 3.0 2016-02-06 19:00:29 -08:00
schneems
232bb6b17e Fix bad rebase 2016-02-04 16:55:10 -06:00
schneems
6ca4c4ca0a Move more logic out of CLI
Focus on removing @options. Delegate all actions to launcher.
2016-02-04 16:55:10 -06:00
schneems
182c836869 Initial Seperation of CLI and Server Launcher work
This is a WIP. This was the minimum I could do to get all tests to pass without changing any tests. Eventually I think we want all high level process controls to come from launcher, I also think we want another separate object that gets passed to Runner/Single/Cluster that will maintain a relationship with the Launcher. We could use this as the object that also gets exposed to the app like the Embeddable class we talked about earlier. 

Moving forwards i'm planning to port out the CLI tests to only test that they are parsing the correct config and launching servers. I'll port all low level unit tests over to the launcher. Making this change we could either keep all the public methods in CLI that delegate to `@launcher`, I'm guessing not many people are using the internals of CLI and we can take them out. It's your call though.

Wanted to kick this over the fence and see if you had any strong reactions or feelings about this approach.
2016-02-04 16:55:10 -06:00
Evan Phoenix
8969ddf4ff Disable worker dependent test on jruby 2016-01-27 21:08:04 -08:00
Sven Riedel
c365f2d1fc Don't persist before_fork hook in state file 2015-12-10 09:01:47 +01:00
Chulki Lee
c8abca0842 refactor configuration 2015-03-14 22:59:21 -07:00
Chulki Lee
ddfb3449a3 make methods private 2015-03-13 16:09:25 -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
Santiago Pastorino
e289c41493 Delete pidfile when stopping the server
Closes #75
2012-07-19 16:09:41 -07:00
Darío Javier Cravero
54e9173965 Added support for setting RACK_ENV through the CLI and the config file. 2012-07-05 21:38:06 +01:00
Gianluca Padovani
fb40724448 Puma can now run on windows 2012-06-22 11:45:25 +02:00
Timothy Elliott
c077e63262 Add -I option to specify $LOAD_PATH directories 2012-04-30 16:44:03 -07:00
Luis Lavena
0fee5c8064 Change YAML.load trick to use File.read instead
And move required Ruby version to 1.8.7 or greater.
(sorry folks on 1.8.6, time to upgrade anyway)
2012-01-08 17:46:10 -03:00
Luis Lavena
935a5569ea Psych::load_file leaves file handles open (leak)
Fixed in Ruby trunk and 1_9_3 branch but not yet released.

Avoid that by doing a old-school File.open { |f| f.read }
2012-01-08 17:01:03 -03:00
Luis Lavena
3e2ca26b83 Exclude more UNIXSocket tests under Windows 2012-01-08 16:57:55 -03:00
Evan Phoenix
47f7671282 Add auth token support to the control server 2011-12-07 10:46:36 -08:00
Evan Phoenix
6103e7f45b Add ability to use a config file (-C, --config) 2011-12-06 14:57:37 -08:00
Evan Phoenix
8184b0804e Disable some unix socket things on JRuby 2011-12-05 11:41:08 -08:00
Evan Phoenix
559830a2cb Use a unix socket temp path for the status url by default 2011-12-05 11:32:18 -08:00
Evan Phoenix
455c8740bd Add ability to save state and start the status server
The state saving works like saving the pidfile, but it contains much
more rich information about the running server.

Additionally, added the --status option to start the status server so
that the server can be controlled over HTTP.

The state file contains the information about where the status server is
located.
2011-12-05 11:15:44 -08:00
Evan Phoenix
6daeb06688 Add pidfile support. Fixes #18 2011-11-21 21:15:40 -08:00