mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
fix for lua 5.3 (PR #232)
This commit is contained in:
@@ -41,7 +41,7 @@ function command.MEM()
|
||||
local list = {}
|
||||
for k,v in pairs(services) do
|
||||
local kb, bytes = skynet.call(k,"debug","MEM")
|
||||
list[skynet.address(k)] = string.format("%d Kb (%s)",kb,v)
|
||||
list[skynet.address(k)] = string.format("%.2f Kb (%s)",kb,v)
|
||||
end
|
||||
return list
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user