Skip to content

Commit

Permalink
Increase blob container max register content length
Browse files Browse the repository at this point in the history
We want to store another long in these now, so bump this up to 16.
  • Loading branch information
original-brownbear committed Jul 3, 2023
1 parent 5eeaecd commit bc0dbb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private BlobContainerUtils() {
// no instances
}

public static final int MAX_REGISTER_CONTENT_LENGTH = Long.BYTES;
public static final int MAX_REGISTER_CONTENT_LENGTH = 2 * Long.BYTES;

public static void ensureValidRegisterContent(BytesReference bytesReference) {
if (bytesReference.length() > MAX_REGISTER_CONTENT_LENGTH) {
Expand Down

0 comments on commit bc0dbb3

Please sign in to comment.