1
0
Fork 0
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:
Nate Berkopec 2020-02-27 14:19:43 -06:00
parent 255e9a9f7b
commit bed42f3be7
No known key found for this signature in database
GPG key ID: BDD7A4B8E43906A6
2 changed files with 1 additions and 6 deletions

View file

@ -9,6 +9,7 @@
* Add `requests_count` to workers stats. (#2106)
* Changed #connected_port to #connected_ports (#2076)
* `--control` has been removed. Use `--control-url` (#1487)
* `worker_directory` has been removed. Use `directory`
* Bugfixes
* Windows update extconf.rb for use with ssp and varied Ruby/MSYS2 combinations (#2069)

View file

@ -536,12 +536,6 @@ module Puma
@options[:directory] = dir.to_s
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.
def tcp_mode
@options[:mode] = :tcp