From 8a3c47fd3271ebeb43951c8c8052764670ca633a Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Fri, 7 May 2021 00:47:49 -0700 Subject: [PATCH] Traffic graph update improvement. --- views/default.handlebars | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/views/default.handlebars b/views/default.handlebars index 1c77326e..ee2b7135 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -14434,7 +14434,10 @@ serverTimelineConfig.data.datasets[1].data.push({ x: stats.time, y: stats.mem.heapUsed / (1024 * 1024) }); serverTimelineConfig.data.datasets[2].data.push({ x: stats.time, y: stats.mem.heapTotal / (1024 * 1024) }); serverTimelineConfig.data.datasets[3].data.push({ x: stats.time, y: stats.mem.rss / (1024 * 1024) }); - } /* else if (chartType == 2) { + } else if ((chartType == 3) || (chartType == 4)) { + updateServerTimelineStats(); + } + /* else if (chartType == 2) { serverTimelineConfig.data.datasets[0].data.push({ x: stats.time, y: stats.db.meshes }); serverTimelineConfig.data.datasets[1].data.push({ x: stats.time, y: stats.db.nodes }); serverTimelineConfig.data.datasets[2].data.push({ x: stats.time, y: stats.db.users });