mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
get snax profile_table after rewriting info_func of snax service
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user