aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-06-26 13:23:48 +0500
committerAbyss777 <abyss@fox5.ru>2017-06-26 13:23:48 +0500
commit9ee8e93a1e98e7c1e5261c43af593086cb45b297 (patch)
treed21f2d7ed5ed240f5ced78ec180c5cde083993ce /src/org
parent71a9d9f6df3bc0ef17bcb834487838b94d989a74 (diff)
downloadtrackermap-server-9ee8e93a1e98e7c1e5261c43af593086cb45b297.tar.gz
trackermap-server-9ee8e93a1e98e7c1e5261c43af593086cb45b297.tar.bz2
trackermap-server-9ee8e93a1e98e7c1e5261c43af593086cb45b297.zip
Fix reconnection on enquire link failed
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/smpp/EnquireLinkTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/smpp/EnquireLinkTask.java b/src/org/traccar/smpp/EnquireLinkTask.java
index 9a3121e24..affb712b3 100644
--- a/src/org/traccar/smpp/EnquireLinkTask.java
+++ b/src/org/traccar/smpp/EnquireLinkTask.java
@@ -44,7 +44,7 @@ public class EnquireLinkTask implements Runnable {
} catch (SmppTimeoutException | SmppChannelException
| RecoverablePduException | UnrecoverablePduException error) {
Log.warning("Enquire link failed, executing reconnect: ", error);
- smppClient.reconnect();
+ smppClient.scheduleReconnect();
} catch (InterruptedException error) {
Log.info("Enquire link interrupted, probably killed by reconnecting");
}