Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b670b97

Browse filesBrowse files
authored
Typo fix
1 parent 36cdbb2 commit b670b97
Copy full SHA for b670b97

1 file changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/harness/parallel/host.ts‎

Copy file name to clipboardExpand all lines: src/harness/parallel/host.ts
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.