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
  • Loading branch information
ewanharris committed Jan 4, 2024
1 parent a4efc76 commit 6f68c59
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 6f68c59

Please sign in to comment.