add a timeout to wspr uploads

This commit is contained in:
Jakob Ketterl 2021-01-31 20:31:54 +01:00
parent 61a5250792
commit 3c91f3cc2f
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class Worker(threading.Thread):
"mode": self._getMode(spot),
}
).encode()
request.urlopen("http://wsprnet.org/post/", data)
request.urlopen("http://wsprnet.org/post/", data, timeout=60)
class WsprnetReporter(Reporter):