From 440b95a6f3cb2908c0331994db979e919fd01f47 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 21 Jul 2017 16:37:05 -0400 Subject: [PATCH] correctly return all v8 data as opposed to just one context --- lib/stats_socket.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stats_socket.rb b/lib/stats_socket.rb index 33dde98c3bb..337bc7b058a 100644 --- a/lib/stats_socket.rb +++ b/lib/stats_socket.rb @@ -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