Skip to content

Commit

Permalink
timout 1 instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
FoamyGuy committed Nov 22, 2024
1 parent 62abc1a commit 3ec6d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_minimqtt/adafruit_minimqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ def reconnect(self, resub_topics: bool = True) -> int:

return ret

def loop(self, timeout: float = 0) -> Optional[list[int]]:
def loop(self, timeout: float = 1.0) -> Optional[list[int]]:
"""Non-blocking message loop. Use this method to check for incoming messages.
Returns list of packet types of any messages received or None.
Expand Down

0 comments on commit 3ec6d2c

Please sign in to comment.