From 82df8578658132146c7c53efdae8295db34cfffd Mon Sep 17 00:00:00 2001 From: Victor Kotai Date: Tue, 11 Oct 2016 13:05:22 +0100 Subject: [PATCH] Reducing buffer size to 1400 --- src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java b/src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java index 9a6a758e..ef502b41 100644 --- a/src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java +++ b/src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java @@ -51,7 +51,7 @@ */ public final class NonBlockingStatsDClient implements StatsDClient { - private static final int PACKET_SIZE_BYTES = 1500; + private static final int PACKET_SIZE_BYTES = 1400; private static final StatsDClientErrorHandler NO_OP_HANDLER = new StatsDClientErrorHandler() { @Override public void handle(final Exception e) { /* No-op */ }