#2320 - Tidy only changes

This commit is contained in:
rbygrave
2021-08-18 09:05:28 +12:00
parent 965f4c6227
commit b062ec050c
@@ -31,8 +31,7 @@ public final class DaemonTopicRunner {
}
public void run() {
Thread t = new Thread(() -> attemptConnections(), "redis-sub");
t.start();
new Thread(this::attemptConnections, "redis-sub").start();
}
private void attemptConnections() {
@@ -55,6 +54,7 @@ public final class DaemonTopicRunner {
// wait a little before retrying
Thread.sleep(reconnectWaitMillis);
} catch (InterruptedException e1) {
Thread.currentThread().interrupt();
log.warn("Interrupted redis re-connection wait", e1);
}
}