aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-30 20:50:29 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-30 20:50:29 +1200
commit70863c500e4cba47eb09b08848a2105ebb108e31 (patch)
treeb50a51b6199cad4882ede7386c26b7de3b7250db
parent2aee0b69909be1bf850f70df6f2ee500915edac1 (diff)
downloadtraccar-server-70863c500e4cba47eb09b08848a2105ebb108e31.tar.gz
traccar-server-70863c500e4cba47eb09b08848a2105ebb108e31.tar.bz2
traccar-server-70863c500e4cba47eb09b08848a2105ebb108e31.zip
Disable async session debug
-rw-r--r--src/org/traccar/http/AsyncServlet.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/org/traccar/http/AsyncServlet.java b/src/org/traccar/http/AsyncServlet.java
index 4a83e09fd..16402e24b 100644
--- a/src/org/traccar/http/AsyncServlet.java
+++ b/src/org/traccar/http/AsyncServlet.java
@@ -48,7 +48,7 @@ public class AsyncServlet extends HttpServlet {
public class AsyncSession {
- private static final boolean DEBUG_ASYNC = true;
+ private static final boolean DEBUG_ASYNC = false;
private static final long SESSION_TIMEOUT = 30;
private static final long REQUEST_TIMEOUT = 10;
@@ -79,12 +79,6 @@ public class AsyncServlet extends HttpServlet {
Context.getDataCache().addListener(devices, dataListener);
}
-
- @Override
- protected void finalize() throws Throwable {
- super.finalize();
- logEvent("finalize");
- }
private final DataCache.DataCacheListener dataListener = new DataCache.DataCacheListener() {
@Override