Skip to content

Commit 3aec00d

Browse files
delete CPU intensive trotting
1 parent 33581ec commit 3aec00d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slo/src/Internal/SloTableContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ async Task ShootingTask(RateLimiter rateLimitPolicy, string operationType,
210210

211211
if (!lease.IsAcquired)
212212
{
213-
continue;
213+
await Task.Delay(IntervalMs, cancellationTokenSource.Token);
214214
}
215215

216216
try

0 commit comments

Comments
 (0)