Add log statement.

This commit is contained in:
Johannes Mockenhaupt 2017-07-24 13:30:08 +02:00
parent ebd9c0d876
commit c8c4cf2813
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -300,6 +300,7 @@ public class RuffyScripter {
// to come up. So for v1, just wait. This happens rarely, so no overly fancy logic needed. // to come up. So for v1, just wait. This happens rarely, so no overly fancy logic needed.
// TODO v2 see if we can do this cleaner, use isDisconnected as well maybe. GL#34. // TODO v2 see if we can do this cleaner, use isDisconnected as well maybe. GL#34.
if (System.currentTimeMillis() < lastDisconnected + 10 * 1000) { if (System.currentTimeMillis() < lastDisconnected + 10 * 1000) {
log.debug("Waiting 10s to let pump settle after recent disconnect");
SystemClock.sleep(10 * 1000); SystemClock.sleep(10 * 1000);
} }