Skip to content

Commit 0af70b1

Browse files
committed
Properly fix latency reporting with Uptime Kuma
1 parent dff0e2a commit 0af70b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Events/HeartbeatEvent.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class HeartbeatEvent
66
{
77
public static async Task OnHeartbeat(IGatewayClient client)
88
{
9-
Program.discord.Logger.LogDebug("Heartbeat ping: {ping}", client.Ping.TotalMilliseconds);
9+
Program.discord.Logger.LogDebug("Heartbeat ping: {ping}", client.Ping.Milliseconds);
1010
if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("UPTIME_KUMA_PUSH_URL")) && client.IsConnected)
1111
{
1212
HttpResponseMessage response;

0 commit comments

Comments
 (0)