Skip to content

Commit b97e2eb

Browse files
committed
was still getting the MemoryError, propagating timeout=0
1 parent 9a316d3 commit b97e2eb

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
@@ -862,7 +862,7 @@ def loop(self, timeout=0):
862862
rcs = []
863863

864864
while True:
865-
rc = self._wait_for_msg()
865+
rc = self._wait_for_msg(timeout)
866866
if rc is None:
867867
break
868868
if time.monotonic() - stamp > self._recv_timeout:

0 commit comments

Comments
 (0)