Skip to content

Commit

Permalink
Исправить RateLimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmem committed Nov 23, 2023
1 parent 7fa349d commit 2e2cc8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VkNet/Utils/CountByIntervalAwaitableConstraint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ await Task.Delay(timeToWait, cancellationToken)
}

_left = _count - 1;
_dateTime = DateTime.Now;
_dateTime = DateTime.UtcNow;
}

_semaphore.Release();
Expand Down

0 comments on commit 2e2cc8e

Please sign in to comment.