Skip to content

Commit

Permalink
Update configuration.rb
Browse files Browse the repository at this point in the history
Allow arguments
  • Loading branch information
kigster authored Dec 4, 2024
1 parent df2cee0 commit b5c7103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/puma/daemon/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ module Daemon
module Configuration
attr_reader :default_dsl, :file_dsl, :user_dsl

def puma_default_options
super.merge({ daemon: true })
def puma_default_options(*args, **opts, &block)
super(*args, **opts, &block).merge({ daemon: true })
end

def daemonize
Expand Down

0 comments on commit b5c7103

Please sign in to comment.