aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-28 17:54:08 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-28 17:54:08 -0700
commit671e8fbdfd90dce91f372750105561fa7d3b472c (patch)
treed7949343984ea305d9308437c268ab9a6cb1beef
parentdee954b9f28c129215e9fa600e6860e2d4adb673 (diff)
downloadtrackermap-server-671e8fbdfd90dce91f372750105561fa7d3b472c.tar.gz
trackermap-server-671e8fbdfd90dce91f372750105561fa7d3b472c.tar.bz2
trackermap-server-671e8fbdfd90dce91f372750105561fa7d3b472c.zip
Change default timeout
-rw-r--r--src/main/java/org/traccar/config/Keys.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 8246fdeac..d4780ba46 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -761,12 +761,12 @@ public final class Keys {
List.of(KeyType.CONFIG));
/**
- * WebSocket connection timeout in milliseconds. Default timeout is 10 minutes.
+ * WebSocket connection timeout in milliseconds. Default timeout is 5 minutes.
*/
public static final ConfigKey<Long> WEB_TIMEOUT = new LongConfigKey(
"web.timeout",
List.of(KeyType.CONFIG),
- 60000L);
+ 300000L);
/**
* Authentication sessions timeout in seconds. By default no timeout.