Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
sodabrew committed Jul 30, 2013
1 parent f7674c5 commit 0328c0c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions code/queue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -400,18 +400,6 @@ def load_config
@config.load_config
end

# def write_status
# begin
# data = @config.to_json
# File.open(@queue_path + '/config.json.tmp', 'w') { |f| f.write(data) }
# File.rename(@queue_path + '/config.json.tmp', @queue_path + '/config.json')
# rescue
# log("FATAL - couldn't write config")
# return false
# end
# return true
# end

# It is called right before check_msg
def alloc_id(msg)
# Simple time insertion system - should work since single threaded
Expand Down Expand Up @@ -1208,8 +1196,6 @@ def log(mesg)

def shutdown!
log("Received shutdown")
# TODO: proper oper status
# write_status
Process.exit! 0
end

Expand Down

0 comments on commit 0328c0c

Please sign in to comment.