mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Since generate_restart_data always set restart_argv and it's called on initialize this can never be false
This commit is contained in:
parent
d29ddd5fec
commit
5b789381ed
1 changed files with 1 additions and 6 deletions
|
@ -57,12 +57,7 @@ module Puma
|
||||||
end
|
end
|
||||||
|
|
||||||
def restart_on_stop!
|
def restart_on_stop!
|
||||||
if @restart_argv
|
@restart = true
|
||||||
@restart = true
|
|
||||||
return true
|
|
||||||
else
|
|
||||||
return false
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def generate_restart_data
|
def generate_restart_data
|
||||||
|
|
Loading…
Reference in a new issue