Skip to content

Commit b670b97

Browse files
authored
Typo fix
1 parent 36cdbb2 commit b670b97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/harness/parallel/host.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ namespace Harness.Parallel.Host {
150150
}
151151
// Send tasks in blocks if the tasks are small
152152
const taskList = [tasks.pop()];
153-
while (tasks.length && taskList.reduce((p, c) => p + c.size, 0) > chunkSize) {
153+
while (tasks.length && taskList.reduce((p, c) => p + c.size, 0) < chunkSize) {
154154
taskList.push(tasks.pop());
155155
}
156156
if (taskList.length === 1) {
@@ -469,4 +469,4 @@ namespace Harness.Parallel.Host {
469469
if (value > max) return max;
470470
return value;
471471
}
472-
}
472+
}

0 commit comments

Comments
 (0)