Skip to content

Commit 523cb78

Browse files
andrew-signalisopod-a
authored andcommitted
Add debug log to track lifetime of KeepAliveSender thread.
1 parent a9c2e60 commit 523cb78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/org/thoughtcrime/securesms/net/SignalWebSocketHealthMonitor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ private class KeepAliveSender extends Thread {
154154
private volatile boolean shouldKeepRunning = true;
155155

156156
public void run() {
157+
Log.d(TAG, "[KeepAliveSender] started");
157158
identified.lastKeepAliveReceived = System.currentTimeMillis();
158159
unidentified.lastKeepAliveReceived = System.currentTimeMillis();
159160

@@ -183,6 +184,7 @@ public void run() {
183184
Log.w(TAG, e);
184185
}
185186
}
187+
Log.d(TAG, "[KeepAliveSender] ended");
186188
}
187189

188190
private void sleepUntil(long timeMs) {

0 commit comments

Comments
 (0)