v1.2.49 - Fix: MEM% bar format (bar then MB), move CPU Core row after CPU Usage

This commit is contained in:
Your Name
2026-02-25 07:37:50 -04:00
parent b6ff4150b4
commit 927659ece1
5 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -124,14 +124,14 @@
<td>Memory Usage</td>
<td id="memory-usage">-</td>
</tr>
<tr>
<td>CPU Core</td>
<td id="cpu-core">-</td>
</tr>
<tr>
<td>CPU Usage</td>
<td id="cpu-usage">-</td>
</tr>
<tr>
<td>CPU Core</td>
<td id="cpu-core">-</td>
</tr>
<tr>
<td>Oldest Event</td>
<td id="oldest-event">-</td>
+1 -1
View File
@@ -4503,7 +4503,7 @@ function updateStatsFromCpuMonitoringEvent(monitoringData) {
// MEM% bar using memory_percent from server
if (monitoringData.memory_percent !== undefined) {
const memPct = Math.min(100, Math.max(0, monitoringData.memory_percent));
updateStatsCell('memory-usage', monitoringData.memory_usage_mb.toFixed(1) + ' MB ' + makeAsciiBar(memPct));
updateStatsCell('memory-usage', makeAsciiBar(memPct) + ' ' + monitoringData.memory_usage_mb.toFixed(1) + ' MB');
}
if (monitoringData.current_cpu_core !== undefined) {
+1 -1
View File
@@ -1 +1 @@
2388377
2391505
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -13,8 +13,8 @@
// Using CRELAY_ prefix to avoid conflicts with nostr_core_lib VERSION macros
#define CRELAY_VERSION_MAJOR 1
#define CRELAY_VERSION_MINOR 2
#define CRELAY_VERSION_PATCH 48
#define CRELAY_VERSION "v1.2.48"
#define CRELAY_VERSION_PATCH 49
#define CRELAY_VERSION "v1.2.49"
// Relay metadata (authoritative source for NIP-11 information)
#define RELAY_NAME "C-Relay"