diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-01-08 18:46:31 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-01-08 18:46:31 -0800 |
commit | 5edf58efbd69f36e4b59f1eda1080e78e66a5b2b (patch) | |
tree | b6985b3cd4d829ee81a677ae03f31b97976d6e4c /src/main | |
parent | 5201306b8b0de6c603186ac83b757b84b84535a6 (diff) | |
download | traccar-server-5edf58efbd69f36e4b59f1eda1080e78e66a5b2b.tar.gz traccar-server-5edf58efbd69f36e4b59f1eda1080e78e66a5b2b.tar.bz2 traccar-server-5edf58efbd69f36e4b59f1eda1080e78e66a5b2b.zip |
Update message limit
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/traccar/protocol/DolphinProtocol.java | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } }); |