correctly return all v8 data as opposed to just one context
This commit is contained in:
parent
bc3a32385c
commit
440b95a6f3
|
@ -20,7 +20,7 @@ class StatsSocket < SocketServer
|
|||
stats[k] = (stats[k] || 0) + v
|
||||
end
|
||||
end
|
||||
PrettyText.v8.heap_stats.to_json
|
||||
stats.to_json
|
||||
else
|
||||
"[\"UNKNOWN COMMAND\"]"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue