aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GranitProtocol.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-06 16:52:23 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-06 16:52:23 +0500
commitf8f21ce131556ca5c1ea44ede496ace9d810c844 (patch)
tree7a54b2fb6eed19341afd72298909276b33a059da /src/org/traccar/protocol/GranitProtocol.java
parent801f9e25448be8a3b27c3b56798525b2fff27633 (diff)
downloadtrackermap-server-f8f21ce131556ca5c1ea44ede496ace9d810c844.tar.gz
trackermap-server-f8f21ce131556ca5c1ea44ede496ace9d810c844.tar.bz2
trackermap-server-f8f21ce131556ca5c1ea44ede496ace9d810c844.zip
More optimizations
Diffstat (limited to 'src/org/traccar/protocol/GranitProtocol.java')
-rw-r--r--src/org/traccar/protocol/GranitProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GranitProtocol.java b/src/org/traccar/protocol/GranitProtocol.java
index 07357b786..a33c43d20 100644
--- a/src/org/traccar/protocol/GranitProtocol.java
+++ b/src/org/traccar/protocol/GranitProtocol.java
@@ -40,7 +40,7 @@ public class GranitProtocol extends BaseProtocol {
TrackerServer server = new TrackerServer(new ServerBootstrap(), this.getName()) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024, true, false));
+ pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024));
pipeline.addLast("objectEncoder", new GranitProtocolEncoder());
pipeline.addLast("objectDecoder", new GranitProtocolDecoder(GranitProtocol.this));
}