add a timeout to wspr uploads
This commit is contained in:
parent
61a5250792
commit
3c91f3cc2f
@ -63,7 +63,7 @@ class Worker(threading.Thread):
|
|||||||
"mode": self._getMode(spot),
|
"mode": self._getMode(spot),
|
||||||
}
|
}
|
||||||
).encode()
|
).encode()
|
||||||
request.urlopen("http://wsprnet.org/post/", data)
|
request.urlopen("http://wsprnet.org/post/", data, timeout=60)
|
||||||
|
|
||||||
|
|
||||||
class WsprnetReporter(Reporter):
|
class WsprnetReporter(Reporter):
|
||||||
|
Loading…
Reference in New Issue
Block a user