Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/com/rabbitmq/stream/EnvironmentBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public interface EnvironmentBuilder {
/**
* The maximum frame size to request.
*
* <p>Default is 1048576.
* <p>Default is 20971520 (20 MiB).
*
* @param requestedMaxFrameSize
* @return this builder instance
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rabbitmq/stream/impl/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public class Client implements AutoCloseable {
public static final int DEFAULT_PORT = 5552;
public static final int DEFAULT_TLS_PORT = 5551;
static final int MAX_REFERENCE_SIZE = 256;
static final int DEFAULT_MAX_FRAME_SIZE = 1048576;
static final int DEFAULT_MAX_FRAME_SIZE = 20971520; // 20 MiB
// used before the max frame size is negotiated with the server (tune/open exchange), so the
// client is never exposed to an unbounded or overly large frame from an unauthenticated peer
static final int DEFAULT_MAX_FRAME_SIZE_BEFORE_AUTHENTICATION = 8192;
Expand Down
Loading