Skip to content

Commit

Permalink
Remove worker_directory config
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Feb 27, 2020
1 parent 255e9a9 commit bed42f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions History.md
Expand Up @@ -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)
Expand Down
6 changes: 0 additions & 6 deletions lib/puma/dsl.rb
Expand Up @@ -536,12 +536,6 @@ def directory(dir)
@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
Expand Down

0 comments on commit bed42f3

Please sign in to comment.