aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-25 23:43:05 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-25 23:43:05 -0800
commite037b4a39ccc2c93bf738b391b02add31a310d4e (patch)
treed650aa0032029388bd51f0ce3912a9225481ebde /src/org
parent2b9469e85bf7da0905ac3a679554178532f51009 (diff)
downloadtrackermap-server-e037b4a39ccc2c93bf738b391b02add31a310d4e.tar.gz
trackermap-server-e037b4a39ccc2c93bf738b391b02add31a310d4e.tar.bz2
trackermap-server-e037b4a39ccc2c93bf738b391b02add31a310d4e.zip
Make data handler sharable
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/WebDataHandler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/WebDataHandler.java b/src/org/traccar/WebDataHandler.java
index 27b317321..64396de03 100644
--- a/src/org/traccar/WebDataHandler.java
+++ b/src/org/traccar/WebDataHandler.java
@@ -17,6 +17,7 @@ package org.traccar;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
+import io.netty.channel.ChannelHandler;
import org.traccar.config.Config;
import org.traccar.config.Keys;
import org.traccar.database.IdentityManager;
@@ -39,6 +40,7 @@ import java.util.Formatter;
import java.util.Locale;
import java.util.TimeZone;
+@ChannelHandler.Sharable
public class WebDataHandler extends BaseDataHandler {
private static final String KEY_POSITION = "position";