Skip to content

Commit b83aa37

Browse files
committed
Increased the timeout for socket_connect().
1 parent 1467795 commit b83aa37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_espatcontrol/adafruit_espatcontrol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def socket_connect(self, conntype, remote, remote_port, *, keepalive=10, retries
193193
+ ","
194194
+ str(keepalive)
195195
)
196-
replies = self.at_response(cmd, timeout=3, retries=retries).split(b"\r\n")
196+
replies = self.at_response(cmd, timeout=10, retries=retries).split(b"\r\n")
197197
for reply in replies:
198198
if reply == b"CONNECT" and self.status == self.STATUS_SOCKETOPEN:
199199
return True

0 commit comments

Comments
 (0)