Skip to content

Commit

Permalink
Send the right latency to Kuma
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa authored Sep 26, 2024
1 parent 6454c32 commit 6bdb0ca
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 @@ -12,7 +12,7 @@ public static async Task OnHeartbeat(IGatewayClient client)
HttpResponseMessage response;
try
{
response = await Program.httpClient.GetAsync(Environment.GetEnvironmentVariable("UPTIME_KUMA_PUSH_URL") + client.Ping.TotalMicroseconds);
response = await Program.httpClient.GetAsync(Environment.GetEnvironmentVariable("UPTIME_KUMA_PUSH_URL") + client.Ping.Milliseconds);
}
catch (Exception ex)
{
Expand Down

0 comments on commit 6bdb0ca

Please sign in to comment.