Skip to content

Commit

Permalink
fix calculation error
Browse files Browse the repository at this point in the history
  • Loading branch information
janheise committed Dec 17, 2024
1 parent ad93a26 commit 8e325e7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ private List<List<String>> partition(final List<String> indices) {
if(length + index.length() > MAX_INDICES_URL_PART_LENGTH) {
partitions.add(partition);
partition = new ArrayList<>();
length = 0;
}
length += index.length();
partition.add(index);
Expand Down

0 comments on commit 8e325e7

Please sign in to comment.