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

Remove --control

This commit is contained in:
Nate Berkopec 2020-02-27 14:17:41 -06:00
parent 43aa5bd75b
commit 255e9a9f7b
No known key found for this signature in database
GPG key ID: BDD7A4B8E43906A6
2 changed files with 1 additions and 5 deletions

View file

@ -8,6 +8,7 @@
* `GC.compact` is called before fork if available (#2093) * `GC.compact` is called before fork if available (#2093)
* 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)
* 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)

View file

@ -112,11 +112,6 @@ module Puma
configure_control_url(arg) configure_control_url(arg)
end end
# alias --control-url for backwards-compatibility
o.on "--control URL", "DEPRECATED alias for --control-url" do |arg|
configure_control_url(arg)
end
o.on "--control-token TOKEN", o.on "--control-token TOKEN",
"The token to use as authentication for the control server" do |arg| "The token to use as authentication for the control server" do |arg|
@control_options[:auth_token] = arg @control_options[:auth_token] = arg