Skip to content

Commit

Permalink
Stop Stopwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillKurdyukov committed Aug 15, 2024
1 parent 2fcc463 commit d69679b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slo/src/Internal/SloContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ Task ShootingTask(RateLimiter rateLimitPolicy, string jobName,
{
var sw = Stopwatch.StartNew();
var (attempts, statusCode) = await action(client, runConfig, errorsGauge);
sw.Stop();
string label;
if (statusCode != StatusCode.Success)
Expand Down

0 comments on commit d69679b

Please sign in to comment.