mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 11:25:24 +00:00
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…
x
Reference in New Issue
Block a user