aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorEdward Valley <ed.valley@yandex.com>2020-01-30 03:49:55 -0500
committerEdward Valley <ed.valley@yandex.com>2020-01-30 03:49:55 -0500
commit7113e04b9a5cabb509ff0219da18098f4b55924f (patch)
tree6610f038f964aeead8429cc22d0a242c3a23eaf7 /src/main/java/org/traccar/config
parent628a80f49f286dcb51034c0e5fbc2f59fe295a08 (diff)
downloadtraccar-server-7113e04b9a5cabb509ff0219da18098f4b55924f.tar.gz
traccar-server-7113e04b9a5cabb509ff0219da18098f4b55924f.tar.bz2
traccar-server-7113e04b9a5cabb509ff0219da18098f4b55924f.zip
Changes after review
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index ec4eb1801..999a1d6df 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -104,23 +104,22 @@ public final class Keys {
* Position forwarding retrying enable. When enabled, additional attempts are made to deliver positions.
* If initial delivery fails, because of an unreachable server or an HTTP response different from '200 OK',
* the software waits for 'forward.retry.delay.min' seconds to retry delivery. On subsequent failures, this
- * delay is incremented by 1 second up to 'forward.retry.delay.max'. On successful delivery, the delay is reset
- * to 'forward.retry.delay.min'. Pending positions to be delivered are limited to 'forward.retry.pending.limit'.
- * If this limit is reached, positions are discarded before next retry.
+ * delay is incremented by 1 second up to 'forward.retry.delay.max'. Positions pending to be delivered
+ * are limited to 'forward.retry.pending.limit'. If this limit is reached, positions get discarded.
*/
public static final ConfigKey FORWARD_RETRY_ENABLE = new ConfigKey(
"forward.retry.enable", Boolean.class);
/**
* Position forwarding retry minimum delay in seconds.
- * Can be set to anything between 1 and 3600 seconds. Defaults to 1 second.
+ * Can be set to anything greater than 0. Defaults to 1 second.
*/
public static final ConfigKey FORWARD_RETRY_DELAY_MIN = new ConfigKey(
"forward.retry.delay.min", Integer.class);
/**
* Position forwarding retry maximum delay in seconds.
- * Can be set to anything between 1 and 3600 seconds. Defaults to 10 seconds.
+ * Can be set to anything greater than 0. Defaults to 10 seconds.
*/
public static final ConfigKey FORWARD_RETRY_DELAY_MAX = new ConfigKey(
"forward.retry.delay.max", Integer.class);