mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Remove worker_directory config
This commit is contained in:
parent
255e9a9f7b
commit
bed42f3be7
2 changed files with 1 additions and 6 deletions
|
@ -9,6 +9,7 @@
|
||||||
* Add `requests_count` to workers stats. (#2106)
|
* Add `requests_count` to workers stats. (#2106)
|
||||||
* Changed #connected_port to #connected_ports (#2076)
|
* Changed #connected_port to #connected_ports (#2076)
|
||||||
* `--control` has been removed. Use `--control-url` (#1487)
|
* `--control` has been removed. Use `--control-url` (#1487)
|
||||||
|
* `worker_directory` has been removed. Use `directory`
|
||||||
|
|
||||||
* Bugfixes
|
* Bugfixes
|
||||||
* Windows update extconf.rb for use with ssp and varied Ruby/MSYS2 combinations (#2069)
|
* Windows update extconf.rb for use with ssp and varied Ruby/MSYS2 combinations (#2069)
|
||||||
|
|
|
@ -536,12 +536,6 @@ module Puma
|
||||||
@options[:directory] = dir.to_s
|
@options[:directory] = dir.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
# DEPRECATED: The directory to operate out of.
|
|
||||||
def worker_directory(dir)
|
|
||||||
$stderr.puts "worker_directory is deprecated. Please use `directory`"
|
|
||||||
directory dir
|
|
||||||
end
|
|
||||||
|
|
||||||
# Run the app as a raw TCP app instead of an HTTP rack app.
|
# Run the app as a raw TCP app instead of an HTTP rack app.
|
||||||
def tcp_mode
|
def tcp_mode
|
||||||
@options[:mode] = :tcp
|
@options[:mode] = :tcp
|
||||||
|
|
Loading…
Reference in a new issue