From 0328c0c01c3ef82568fc4a66060c6be28ed76147 Mon Sep 17 00:00:00 2001 From: Aaron Stone Date: Tue, 30 Jul 2013 00:12:27 -0700 Subject: [PATCH] Remove commented out code --- code/queue.rb | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/code/queue.rb b/code/queue.rb index 4d55e9d..1e9cc9b 100644 --- a/code/queue.rb +++ b/code/queue.rb @@ -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 @@ -1208,8 +1196,6 @@ def log(mesg) def shutdown! log("Received shutdown") - # TODO: proper oper status - # write_status Process.exit! 0 end