Skip to content

Commit

Permalink
fix timeouts in passenger standalone
Browse files Browse the repository at this point in the history
wrong option names were used for timeouts
  • Loading branch information
CamJN committed Dec 12, 2024
1 parent 6bce94e commit c7599c4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Release 6.0.25 (Not yet released)
-------------
* [Standalone] Changes Passenger (not app) start and stop timeouts to 25s (from 15s) except for Nginx engine mode, which retains a stop timeout of 60s.
*


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def build_daemon_controller_options
:ping_command => ping_spec,
:pid_file => @options[:pid_file],
:log_file => @options[:log_file],
:timeout => 25
:start_timeout => 25
}
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ def create_controller
:start_command => "true", # Doesn't matter
:ping_command => "true", # Doesn't matter
:pid_file => @options[:pid_file],
:log_file => "/dev/null",
:timeout => 25
:log_file => "/dev/null"
)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def create_controller
:ping_command => "true", # Doesn't matter
:pid_file => @options[:pid_file],
:log_file => "/dev/null",
:timeout => 25
:stop_timeout => 25
)
end
end
Expand Down

0 comments on commit c7599c4

Please sign in to comment.