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
|
stats[k] = (stats[k] || 0) + v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
PrettyText.v8.heap_stats.to_json
|
stats.to_json
|
||||||
else
|
else
|
||||||
"[\"UNKNOWN COMMAND\"]"
|
"[\"UNKNOWN COMMAND\"]"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue