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

9 commits

Author SHA1 Message Date
Jeff Levin
338099fdda fix test for truffle ruby 2020-04-19 23:16:04 -08:00
Jeff Levin
c12340b105 add methods to detect truffle. exclude truffle from allowing workers 2020-04-19 23:03:39 -08:00
Jeff Levin
ebc1422cb9 stupid whitespace 2020-03-09 00:48:10 -08:00
Jeff Levin
05936689c8 add RAILS_MIN_THREADS, RAILS_MAX_THREADS, set default worker, preload if using workers 2020-03-09 00:29:34 -08:00
schneems
88e51fb08e Freeze all the strings!
Reduces runtime allocation by freezing string literals by default.

We could also remove a ton of manual `.freeze` calls, however the ruby supported version is 2.2 and the magic comment only targets 2.3+.
2018-09-17 11:41:14 -05:00
Francesco Rodriguez
cc4e8105dc Use Puma env detection helpers in tests. (#1156)
* Use Puma env detection helpers in tests.

* Check only once if environment is windows.

Same as #jruby?
2016-11-22 17:27:30 -07:00
Evan Phoenix
5654d558fd Don't use ENV['PWD'] on windows. Fixes #1023 2016-07-23 21:36:05 -07: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
Evan Phoenix
652cf29391 Cleanup the JRuby specific fix 2012-08-10 19:36:01 -07:00