aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-09-11 23:22:25 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-09-11 23:22:25 -0700
commit9279e3fd0f416a236c4c30fd9dc94e8c21b9369a (patch)
tree53d329984270260400b24d2b4b1b1c7c24bedc9f
parentfdf79f2cae03398e2a6d1ab86f710796dcc11b64 (diff)
downloadtrackermap-server-9279e3fd0f416a236c4c30fd9dc94e8c21b9369a.tar.gz
trackermap-server-9279e3fd0f416a236c4c30fd9dc94e8c21b9369a.tar.bz2
trackermap-server-9279e3fd0f416a236c4c30fd9dc94e8c21b9369a.zip
Increase message limit
-rw-r--r--src/main/java/org/traccar/protocol/RaceDynamicsProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/RaceDynamicsProtocol.java b/src/main/java/org/traccar/protocol/RaceDynamicsProtocol.java
index 749893d4d..c9db10610 100644
--- a/src/main/java/org/traccar/protocol/RaceDynamicsProtocol.java
+++ b/src/main/java/org/traccar/protocol/RaceDynamicsProtocol.java
@@ -28,7 +28,7 @@ public class RaceDynamicsProtocol extends BaseProtocol {
addServer(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast(new LineBasedFrameDecoder(1024));
+ pipeline.addLast(new LineBasedFrameDecoder(1500));
pipeline.addLast(new StringEncoder());
pipeline.addLast(new StringDecoder());
pipeline.addLast(new RaceDynamicsProtocolDecoder(RaceDynamicsProtocol.this));