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

Remove unused code

This commit is contained in:
Santiago Pastorino 2012-07-02 18:24:23 -03:00
parent ca21111666
commit d29ddd5fec

View file

@ -31,7 +31,6 @@ module Puma
@status = nil
@restart = false
@temp_status_path = nil
@listeners = []
@ -268,8 +267,6 @@ module Puma
@config = Puma::Configuration.new @options
@config.load
@temp_status_path = @options[:control_path_temp]
end
def graceful_stop(server)
@ -445,8 +442,6 @@ module Puma
graceful_stop server
end
File.unlink @temp_status_path if @temp_status_path
if @restart
log "* Restarting..."
@status.stop true if @status