1
0
mirror of synced 2024-06-26 14:27:38 +00:00

Fixed BatchSize sneaking in one more every time

This commit is contained in:
Mark van Renswoude 2021-09-15 19:57:51 +02:00
parent 0fb2c48083
commit 254af41875

View File

@ -26,7 +26,7 @@ namespace Tapeti.Cmd.RateLimiter
if (batchCount > batchSize)
{
Pause(console);
batchCount = 0;
batchCount = 1;
}
decoratedRateLimiter.Execute(action);