-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit d6faaf8
umqtt.simple: Add optional socket timeout to connect method.
If there are any network issues, mqtt will block on the socket
non-deterministically. This commit introduces a `timeout` option which
can be used to set a finite timeout on the socket. Upon any issue, mqtth
lib will throw exception.1 parent 68e3e07 commit d6faaf8
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | - | ||
1 | + | ||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | - | ||
63 | + | ||
64 | 64 | | |
65 | + | ||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments