Skip to content

Commit

Permalink
fix(java-sdk): fix incorrect check for whether transactionChunkSize i…
Browse files Browse the repository at this point in the history
…s not set (#270)
  • Loading branch information
rhamzeh authored Jan 4, 2024
2 parents a4efc76 + 6f68c59 commit 4a8af1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ public class ClientWriteOptions implements AdditionalHeadersSupplier {
}

public int getTransactionChunkSize() {
return transactionChunkSize >= 0 ? transactionChunkSize : 1;
return transactionChunkSize > 0 ? transactionChunkSize : 1;
}
}

0 comments on commit 4a8af1b

Please sign in to comment.