diff options
author | Edward Valley <ed.valley@yandex.com> | 2019-08-20 03:50:00 -0400 |
---|---|---|
committer | Edward Valley <ed.valley@yandex.com> | 2019-08-20 03:50:00 -0400 |
commit | 84d275c1bffadd06d2941b346bc4619b7654d652 (patch) | |
tree | abc883faccd2f73f17b7043b72956bbcecb7a6f8 /src/main/java/org/traccar | |
parent | c64ad4872256ed947ce0bfcbdb797dbd919378ee (diff) | |
download | traccar-server-84d275c1bffadd06d2941b346bc4619b7654d652.tar.gz traccar-server-84d275c1bffadd06d2941b346bc4619b7654d652.tar.bz2 traccar-server-84d275c1bffadd06d2941b346bc4619b7654d652.zip |
Make config key shorter
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/BaseProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/BaseProtocolDecoder.java b/src/main/java/org/traccar/BaseProtocolDecoder.java index 54a5038b6..e6e02c2d6 100644 --- a/src/main/java/org/traccar/BaseProtocolDecoder.java +++ b/src/main/java/org/traccar/BaseProtocolDecoder.java @@ -149,7 +149,7 @@ public abstract class BaseProtocolDecoder extends ExtendedObjectDecoder { public DeviceSession getDeviceSession( Channel channel, SocketAddress remoteAddress, boolean ignoreCache, String... uniqueIds) { if (channel != null && BasePipelineFactory.getHandler(channel.pipeline(), HttpRequestDecoder.class) != null - || ignoreCache || config.getBoolean(getProtocolName() + ".decoder.ignoreSessionCache") + || ignoreCache || config.getBoolean(getProtocolName() + ".ignoreSessionCache") || config.getBoolean("decoder.ignoreSessionCache")) { long deviceId = findDeviceId(remoteAddress, uniqueIds); if (deviceId != 0) { |