aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index da6c46ee9..d443509e5 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -315,6 +315,13 @@ public final class Keys {
300L);
/**
+ * Store empty messages as positions. For example, heartbeats.
+ */
+ public static final ConfigKey<Boolean> DATABASE_SAVE_EMPTY = new ConfigKey<>(
+ "database.saveEmpty",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
* Device limit for self registered users. Default value is -1, which indicates no limit.
*/
public static final ConfigKey<Integer> USERS_DEFAULT_DEVICE_LIMIT = new ConfigKey<>(
@@ -553,6 +560,14 @@ public final class Keys {
Collections.singletonList(KeyType.GLOBAL));
/**
+ * Enable commands queuing when devices are offline. Commands are buffered in memory only, so restarting service
+ * will clear the buffer.
+ */
+ public static final ConfigKey<Boolean> COMMANDS_QUEUEING = new ConfigKey<>(
+ "commands.queueing",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
* SMS API service full URL. Enables SMS commands and notifications.
*/
public static final ConfigKey<String> SMS_HTTP_URL = new ConfigKey<>(