Add debug log to track lifetime of KeepAliveSender thread.

This commit is contained in:
andrew-signal
2025-02-28 20:16:11 -05:00
committed by Greyson Parrelli
parent e9e62b98f3
commit 25acada838

View File

@@ -154,6 +154,7 @@ public final class SignalWebSocketHealthMonitor implements HealthMonitor {
private volatile boolean shouldKeepRunning = true;
public void run() {
Log.d(TAG, "[KeepAliveSender] started");
identified.lastKeepAliveReceived = System.currentTimeMillis();
unidentified.lastKeepAliveReceived = System.currentTimeMillis();
@@ -183,6 +184,7 @@ public final class SignalWebSocketHealthMonitor implements HealthMonitor {
Log.w(TAG, e);
}
}
Log.d(TAG, "[KeepAliveSender] ended");
}
private void sleepUntil(long timeMs) {