aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-12-08 23:16:28 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-12-08 23:16:28 -0800
commit21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea (patch)
tree011dc309a5d9c93fb353b000963bc1e86a06d243 /src/main
parent955c1abe0753a030846db552c6eea262d7d326d1 (diff)
downloadtrackermap-server-21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea.tar.gz
trackermap-server-21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea.tar.bz2
trackermap-server-21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea.zip
Increase frame limit
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/FlexApiProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/FlexApiProtocol.java b/src/main/java/org/traccar/protocol/FlexApiProtocol.java
index a1e741eee..bc6a49907 100644
--- a/src/main/java/org/traccar/protocol/FlexApiProtocol.java
+++ b/src/main/java/org/traccar/protocol/FlexApiProtocol.java
@@ -27,7 +27,7 @@ public class FlexApiProtocol extends BaseProtocol {
addServer(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast(new LineBasedFrameDecoder(1024));
+ pipeline.addLast(new LineBasedFrameDecoder(5120));
pipeline.addLast(new StringDecoder());
pipeline.addLast(new FlexApiProtocolDecoder(FlexApiProtocol.this));
}