Skip to content

Commit

Permalink
Merge pull request #4 from trevorwslee/develop
Browse files Browse the repository at this point in the history
going for v0.3.0
  • Loading branch information
trevorwslee authored Sep 16, 2023
2 parents 521420c + d523ae3 commit 90d3f91
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dumbdisplay/_ddimpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ def validateConnection(self) -> bool:
if need_reconnect:
if self.reconnect_enabled:
# reconnecting not working yet
print(f"disconnected {self.reconnect_RC_id} ... for {keep_alive_diff_ms} ms")
print(f"detected disconnection ... [{self.reconnect_RC_id}] ... for {keep_alive_diff_ms} ms")
#print("disconnected ... reconnecting ... ", self.reconnect_RC_id, diff_ms)
else:
print(f"disconnected ... for {keep_alive_diff_ms} ms")
print(f"detected disconnection ... for {keep_alive_diff_ms} ms")
elif self.reconnecting:
print("recovered connection")
if need_reconnect:
self.reconnecting = True
if need_reconnect and self.reconnect_enabled:
Expand Down

0 comments on commit 90d3f91

Please sign in to comment.