Skip to content

Commit

Permalink
Pause bewteen retries in WaitForRepoEmptyState
Browse files Browse the repository at this point in the history
Forgot a pause, so this was retrying every couple dozen milliseconds,
way too fast.
  • Loading branch information
rmunn committed May 10, 2024
1 parent 9060503 commit 5743922
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/LexBoxApi/Services/HgService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ public async Task WaitForRepoEmptyState(string code, RepoEmptyState expectedStat
RepoEmptyState.Empty => isEmpty,
RepoEmptyState.NonEmpty => !isEmpty
};
if (!done) await Task.Delay(650);
}
}

Expand Down

0 comments on commit 5743922

Please sign in to comment.