aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorEdward Valley <ed.valley@yandex.com>2019-08-26 06:08:50 -0400
committerEdward Valley <ed.valley@yandex.com>2019-08-26 06:09:30 -0400
commit72e8ab6966cb70dd58dcdf671dab11a7673aeabf (patch)
treece3bd23ec9490e12b763ca823f9f490b99ca6263 /src/main/java/org/traccar/config
parent02c11aa5bb9506357b5007084e80ef1bbc8ecd78 (diff)
downloadtrackermap-server-72e8ab6966cb70dd58dcdf671dab11a7673aeabf.tar.gz
trackermap-server-72e8ab6966cb70dd58dcdf671dab11a7673aeabf.tar.bz2
trackermap-server-72e8ab6966cb70dd58dcdf671dab11a7673aeabf.zip
Add a ring buffer and response check
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 2c5dcefd5..10eda01e2 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -101,6 +101,13 @@ public final class Keys {
"forward.json", Boolean.class);
/**
+ * Position forwarding queue size. A ring buffer of the specified size is used to queue positions.
+ * If negative, zero, or not specified, queueing is disabled. (Legacy behaviour)
+ */
+ public static final ConfigKey FORWARD_QUEUE_SIZE = new ConfigKey(
+ "forward.queue.size", Integer.class);
+
+ /**
* Boolean flag to enable or disable position filtering.
*/
public static final ConfigKey FILTER_ENABLE = new ConfigKey(