get snax profile_table after rewriting info_func of snax service

This commit is contained in:
dmx
2016-12-15 15:59:23 +08:00
parent 7ee9cdb29b
commit 1e51af2d62
3 changed files with 8 additions and 1 deletions

View File

@@ -54,6 +54,8 @@ skynet.start(function()
if command == "hotfix" then
local hotfix = require "snax.hotfix"
skynet.ret(skynet.pack(hotfix(func, ...)))
elseif command == "profile" then
skynet.ret(skynet.pack(profile_table))
elseif command == "init" then
assert(not init, "Already init")
local initfunc = method[4] or function() end