Skip to content

Commit

Permalink
THRIFT-4193 Lower the default maxReadBufferBytes for non-blocking ser…
Browse files Browse the repository at this point in the history
…vers

Client: Java
Patch: Roshan George <rgeorge@liveramp.com>

This closes #1264
  • Loading branch information
Roshan George authored and Jens-G committed May 10, 2017
1 parent 224c334 commit 3966a56
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -50,7 +50,7 @@ public abstract class AbstractNonblockingServer extends TServer {
protected final Logger LOGGER = LoggerFactory.getLogger(getClass().getName());

public static abstract class AbstractNonblockingServerArgs<T extends AbstractNonblockingServerArgs<T>> extends AbstractServerArgs<T> {
public long maxReadBufferBytes = Long.MAX_VALUE;
public long maxReadBufferBytes = 256 * 1024 * 1024;

public AbstractNonblockingServerArgs(TNonblockingServerTransport transport) {
super(transport);
Expand Down

0 comments on commit 3966a56

Please sign in to comment.