aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/DolphinProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-01-08 18:46:31 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-01-08 18:46:31 -0800
commit5edf58efbd69f36e4b59f1eda1080e78e66a5b2b (patch)
treeb6985b3cd4d829ee81a677ae03f31b97976d6e4c /src/main/java/org/traccar/protocol/DolphinProtocol.java
parent5201306b8b0de6c603186ac83b757b84b84535a6 (diff)
downloadtrackermap-server-5edf58efbd69f36e4b59f1eda1080e78e66a5b2b.tar.gz
trackermap-server-5edf58efbd69f36e4b59f1eda1080e78e66a5b2b.tar.bz2
trackermap-server-5edf58efbd69f36e4b59f1eda1080e78e66a5b2b.zip
Update message limit
Diffstat (limited to 'src/main/java/org/traccar/protocol/DolphinProtocol.java')
-rw-r--r--src/main/java/org/traccar/protocol/DolphinProtocol.java4
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));
}
});