From b0157fe38925cacfcf9886ef2d441493ea4ff789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 24 Jun 2024 11:57:45 +0200 Subject: [PATCH] Remove zeroed sockets_used/sockets_total Values are zeroed following 4.x changes. --- .../EasyNetQ.Management.Client.approved.txt | 4 ---- Source/EasyNetQ.Management.Client.Tests/Json/Nodes.json | 2 -- Source/EasyNetQ.Management.Client/Model/Node.cs | 2 -- 3 files changed, 8 deletions(-) diff --git a/Source/EasyNetQ.Management.Client.ApprovalTests/EasyNetQ.Management.Client.approved.txt b/Source/EasyNetQ.Management.Client.ApprovalTests/EasyNetQ.Management.Client.approved.txt index c6e39840..39a1b6f7 100644 --- a/Source/EasyNetQ.Management.Client.ApprovalTests/EasyNetQ.Management.Client.approved.txt +++ b/Source/EasyNetQ.Management.Client.ApprovalTests/EasyNetQ.Management.Client.approved.txt @@ -988,8 +988,6 @@ namespace EasyNetQ.Management.Client.Model long MemCode, long FdUsed, long FdTotal, - long SocketsUsed, - long SocketsTotal, long MemUsed, long MemLimit, bool MemAlarm, @@ -1031,8 +1029,6 @@ namespace EasyNetQ.Management.Client.Model public long Processors { get; init; } public long RunQueue { get; init; } public bool Running { get; init; } - public long SocketsTotal { get; init; } - public long SocketsUsed { get; init; } public string Type { get; init; } public long Uptime { get; init; } } diff --git a/Source/EasyNetQ.Management.Client.Tests/Json/Nodes.json b/Source/EasyNetQ.Management.Client.Tests/Json/Nodes.json index 35ba119c..074c0406 100755 --- a/Source/EasyNetQ.Management.Client.Tests/Json/Nodes.json +++ b/Source/EasyNetQ.Management.Client.Tests/Json/Nodes.json @@ -16,8 +16,6 @@ "mem_code": 18006918, "fd_used": 42, "fd_total": 1024, - "sockets_used": 2, - "sockets_total": 829, "mem_used": 37360256, "mem_limit": 3405386547, "mem_alarm": false, diff --git a/Source/EasyNetQ.Management.Client/Model/Node.cs b/Source/EasyNetQ.Management.Client/Model/Node.cs index 03eff514..568458c7 100644 --- a/Source/EasyNetQ.Management.Client/Model/Node.cs +++ b/Source/EasyNetQ.Management.Client/Model/Node.cs @@ -15,8 +15,6 @@ public record Node( long MemCode, long FdUsed, long FdTotal, - long SocketsUsed, - long SocketsTotal, long MemUsed, long MemLimit, bool MemAlarm,