Merge pull request #379 from DJ2LS/qm-373

This commit is contained in:
DJ2LS 2023-03-20 22:37:54 +01:00 committed by GitHub
commit d9c249074e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,7 +159,8 @@ class radio:
""" """
if self.data_connected: if self.data_connected:
self.data_connection.setblocking(False) self.data_connection.setblocking(False)
self.data_connection.settimeout(0.05) #Allow a little more time for a response from rigctld before generating a timeout, seems to have no ill effects on a well behaving setup and fixes Issue #373
self.data_connection.settimeout(0.30)
try: try:
self.data_connection.sendall(command + b"\n") self.data_connection.sendall(command + b"\n")