Skip to content

Commit

Permalink
cli.rb & launcher.rb - deprecate state file constants
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Jan 1, 2022
1 parent 661792b commit 3fdc340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/puma/cli.rb
Expand Up @@ -21,6 +21,7 @@ class << self
# Handles invoke a Puma::Server in a command line style.
#
class CLI
# @deprecated 6.0.0
KEYS_NOT_TO_PERSIST_IN_STATE = Launcher::KEYS_NOT_TO_PERSIST_IN_STATE

# Create a new CLI object using +argv+ as the command line
Expand Down
1 change: 1 addition & 0 deletions lib/puma/launcher.rb
Expand Up @@ -15,6 +15,7 @@ module Puma
# It is responsible for either launching a cluster of Puma workers or a single
# puma server.
class Launcher
# @deprecated 6.0.0
KEYS_NOT_TO_PERSIST_IN_STATE = [
:logger, :lowlevel_error_handler,
:before_worker_shutdown, :before_worker_boot, :before_worker_fork,
Expand Down

0 comments on commit 3fdc340

Please sign in to comment.