Skip to content

Commit b1ab921

Browse files
fix: lint
1 parent c9c1fb8 commit b1ab921

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

benchmark/BenchmarkRunner/Utils/Helpers.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public static async Task InsertInBatchesAsync<T>(List<T> items, int batchSize, F
2222

2323
private static int CalculateMaxConcurrency(int totalTasks, int maxConcurrency)
2424
{
25-
return new int[] {
26-
maxConcurrency, totalTasks, Environment.ProcessorCount
25+
return new int[] {
26+
maxConcurrency, totalTasks, Environment.ProcessorCount
2727
}.Min(x => x);
2828
}
2929
public static async Task<List<T>> ExecuteConcurrentlyAsync<T>(

0 commit comments

Comments
 (0)