diff --git a/service/launcher.lua b/service/launcher.lua index 6283b3fa..e51f8833 100644 --- a/service/launcher.lua +++ b/service/launcher.lua @@ -19,18 +19,6 @@ function command.LIST() return list end -function command.RELOAD(handle) - handle = handle_to_address(handle) - local cmd = string.match(services[handle], "snlua (.+)") - print(services[handle],cmd) - if cmd then - skynet.send(handle,"debug","RELOAD",cmd) - return {cmd} - else - return {"Support only snlua"} - end -end - function command.STAT() local list = {} for k,v in pairs(services) do @@ -50,22 +38,6 @@ function command.INFO(handle) end end -function command.TIMING(handle) - handle = handle_to_address(handle) - if services[handle] == nil then - return - else - local r = skynet.call(handle,"debug","TIMING") - local result = {} - for k,v in pairs(r) do - v.name = services[k] - v.avg = v.ti/v.n - result[skynet.address(k)] = v - end - return result - end -end - function command.KILL(handle) handle = handle_to_address(handle) skynet.kill(handle)