aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-08 21:56:21 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-08 21:56:21 +1300
commit20f275a86f59fe1b43a4bc1a49a86f815d3ca319 (patch)
treea5fd296d5dfb764b3997be84ecc791c6f066d646 /src/org/traccar/api
parent84f8d7d1e3ad788cd0f3b1d8bccaeaa9dd8b6b47 (diff)
downloadtraccar-server-20f275a86f59fe1b43a4bc1a49a86f815d3ca319.tar.gz
traccar-server-20f275a86f59fe1b43a4bc1a49a86f815d3ca319.tar.bz2
traccar-server-20f275a86f59fe1b43a4bc1a49a86f815d3ca319.zip
Handle websocket connection idle timeout
Diffstat (limited to 'src/org/traccar/api')
-rw-r--r--src/org/traccar/api/AsyncSocketServlet.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/api/AsyncSocketServlet.java b/src/org/traccar/api/AsyncSocketServlet.java
index 59f0b7ee2..fbfe248e5 100644
--- a/src/org/traccar/api/AsyncSocketServlet.java
+++ b/src/org/traccar/api/AsyncSocketServlet.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2015 - 2016 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import org.traccar.api.resource.SessionResource;
public class AsyncSocketServlet extends WebSocketServlet {
- private static final long ASYNC_TIMEOUT = 60000;
+ private static final long ASYNC_TIMEOUT = 10 * 60 * 1000;
@Override
public void configure(WebSocketServletFactory factory) {