diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-26 20:30:00 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-26 20:30:00 +1200 |
commit | a20c9a0f7ae92f537ef6d01f50310eb50deca6f3 (patch) | |
tree | e7f519d899b5d688867cd09c3ece43ad2c63f751 | |
parent | 8d31a6b136c792b181822d84cbb854c15e15f482 (diff) | |
parent | 9ee8e93a1e98e7c1e5261c43af593086cb45b297 (diff) | |
download | trackermap-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
-rw-r--r-- | src/org/traccar/smpp/EnquireLinkTask.java | 2 |
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"); } |