Skip to content

Commit

Permalink
perf(BackgroundUpdater): Always cool down
Browse files Browse the repository at this point in the history
  • Loading branch information
mstv committed May 9, 2024
1 parent e9cc727 commit 2353266
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ private async Task WrappedOperationAsync()
}
finally
{
if (_rerunRequested)
{
await Task.Delay(_cooldownMilliseconds);
}
await Task.Delay(_cooldownMilliseconds);

lock (_sync)
{
Expand Down

0 comments on commit 2353266

Please sign in to comment.