Skip to content

Commit

Permalink
Add size multiplier for limited concurrency tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Aug 26, 2024
1 parent b2a00c5 commit 48806ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ async function searchAvailableTasks({
searches.push({
query,
sort,
size: capacity,
size: capacity * SIZE_MULTIPLIER_FOR_TASK_FETCH,
seq_no_primary_term: true,
});
}
Expand Down

0 comments on commit 48806ca

Please sign in to comment.