aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-26 20:30:00 +1200
committerGitHub <noreply@github.com>2017-06-26 20:30:00 +1200
commita20c9a0f7ae92f537ef6d01f50310eb50deca6f3 (patch)
treee7f519d899b5d688867cd09c3ece43ad2c63f751 /src
parent8d31a6b136c792b181822d84cbb854c15e15f482 (diff)
parent9ee8e93a1e98e7c1e5261c43af593086cb45b297 (diff)
downloadtrackermap-server-a20c9a0f7ae92f537ef6d01f50310eb50deca6f3.tar.gz
trackermap-server-a20c9a0f7ae92f537ef6d01f50310eb50deca6f3.tar.bz2
trackermap-server-a20c9a0f7ae92f537ef6d01f50310eb50deca6f3.zip
Merge pull request #3293 from Abyss777/smpp_reconnection
Fix SMPP reconnection on enquire link failed
Diffstat (limited to 'src')
-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");
}