aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorEdward Valley <ed.valley@yandex.com>2019-08-31 18:27:13 -0400
committerEdward Valley <ed.valley@yandex.com>2019-08-31 18:27:13 -0400
commit169c40cc7207a962f027aea85bd8f9c04b33738f (patch)
treeaa8846eb4f31227cadde096fd954067a897ef0e9 /src/main/java/org/traccar/config
parent72e8ab6966cb70dd58dcdf671dab11a7673aeabf (diff)
downloadtraccar-server-169c40cc7207a962f027aea85bd8f9c04b33738f.tar.gz
traccar-server-169c40cc7207a962f027aea85bd8f9c04b33738f.tar.bz2
traccar-server-169c40cc7207a962f027aea85bd8f9c04b33738f.zip
Refactor code to have concurrency
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 10eda01e2..6102f7604 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -108,6 +108,13 @@ public final class Keys {
"forward.queue.size", Integer.class);
/**
+ * Position forwarding queue concurrency. Defines how many HTTP requests can be pending at any time.
+ * If queueing is enabled, and this value is less than one, it's ignored and forced to be one.
+ */
+ public static final ConfigKey FORWARD_QUEUE_CONCURRENCY = new ConfigKey(
+ "forward.queue.concurrency", Integer.class);
+
+ /**
* Boolean flag to enable or disable position filtering.
*/
public static final ConfigKey FILTER_ENABLE = new ConfigKey(