From 9ee8e93a1e98e7c1e5261c43af593086cb45b297 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 26 Jun 2017 13:23:48 +0500 Subject: Fix reconnection on enquire link failed --- src/org/traccar/smpp/EnquireLinkTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit v1.2.3