Skip to content

Commit

Permalink
Properly fix latency reporting with Uptime Kuma
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa committed Aug 17, 2024
1 parent dff0e2a commit 0af70b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Events/HeartbeatEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class HeartbeatEvent
{
public static async Task OnHeartbeat(IGatewayClient client)
{
Program.discord.Logger.LogDebug("Heartbeat ping: {ping}", client.Ping.TotalMilliseconds);
Program.discord.Logger.LogDebug("Heartbeat ping: {ping}", client.Ping.Milliseconds);
if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("UPTIME_KUMA_PUSH_URL")) && client.IsConnected)
{
HttpResponseMessage response;
Expand Down

0 comments on commit 0af70b1

Please sign in to comment.