Skip to content

Commit 3ec6d2c

Browse files
committed
timout 1 instead of 0
1 parent 62abc1a commit 3ec6d2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ def reconnect(self, resub_topics: bool = True) -> int:
921921

922922
return ret
923923

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

0 commit comments

Comments
 (0)