feat(api/private): add disconnection count to shard objects

This commit is contained in:
spiral 2022-01-23 02:30:03 -05:00
parent d948d445ec
commit 2e387ecee9
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -58,6 +58,7 @@ public static class PrivateJsonExt
s.Add("status", "up"); s.Add("status", "up");
s.Add("ping", shard.Latency); s.Add("ping", shard.Latency);
s.Add("disconnection_count", shard.DisconnectionCount);
s.Add("last_heartbeat", shard.LastHeartbeat.ToString()); s.Add("last_heartbeat", shard.LastHeartbeat.ToString());
s.Add("last_connection", shard.LastConnection.ToString()); s.Add("last_connection", shard.LastConnection.ToString());