mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
reload snlua service
This commit is contained in:
@@ -465,6 +465,11 @@ function dbgcmd.INFO()
|
||||
end
|
||||
end
|
||||
|
||||
function dbgcmd.RELOAD(...)
|
||||
local cmd = table.concat({...}, " ")
|
||||
c.reload(cmd)
|
||||
end
|
||||
|
||||
local function _debug_dispatch(session, address, cmd, ...)
|
||||
local f = dbgcmd[cmd]
|
||||
assert(f, cmd)
|
||||
|
||||
Reference in New Issue
Block a user