Fixed BatchSize sneaking in one more every time
This commit is contained in:
parent
0fb2c48083
commit
254af41875
@ -26,7 +26,7 @@ namespace Tapeti.Cmd.RateLimiter
|
||||
if (batchCount > batchSize)
|
||||
{
|
||||
Pause(console);
|
||||
batchCount = 0;
|
||||
batchCount = 1;
|
||||
}
|
||||
|
||||
decoratedRateLimiter.Execute(action);
|
||||
|
Loading…
Reference in New Issue
Block a user