socket timeout of 300 instead of 60

This commit is contained in:
craigerl 2020-12-04 13:37:29 -08:00
parent 766acbb777
commit 32e146d105
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ def setup_connection():
try:
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect((CONFIG['aprs']['host'], 14580))
sock.settimeout(60)
sock.settimeout(300)
connected = True
except Exception, e:
print "Unable to connect to APRS-IS server.\n"