From 5edf58efbd69f36e4b59f1eda1080e78e66a5b2b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 8 Jan 2021 18:46:31 -0800 Subject: Update message limit --- src/main/java/org/traccar/protocol/DolphinProtocol.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/org/traccar/protocol') diff --git a/src/main/java/org/traccar/protocol/DolphinProtocol.java b/src/main/java/org/traccar/protocol/DolphinProtocol.java index e914059c7..b77a80a85 100644 --- a/src/main/java/org/traccar/protocol/DolphinProtocol.java +++ b/src/main/java/org/traccar/protocol/DolphinProtocol.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Anton Tananaev (anton@traccar.org) + * Copyright 2020 - 2021 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ public class DolphinProtocol extends BaseProtocol { addServer(new TrackerServer(false, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { - pipeline.addLast(new LengthFieldBasedFrameDecoder(1024, 20, 4)); + pipeline.addLast(new LengthFieldBasedFrameDecoder(4096, 20, 4)); pipeline.addLast(new DolphinProtocolDecoder(DolphinProtocol.this)); } }); -- cgit v1.2.3