mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-27 21:24:42 +00:00
Add debug log to track lifetime of KeepAliveSender thread.
This commit is contained in:
committed by
Greyson Parrelli
parent
e9e62b98f3
commit
25acada838
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user