interrupt mesh dispatcher while in arq state

This commit is contained in:
DJ2LS 2023-07-10 16:42:34 +02:00
parent 5055c65838
commit 0e0620deee
2 changed files with 5 additions and 1 deletions

View file

@ -271,6 +271,10 @@ class MeshRouter():
while True:
threading.Event().wait(1.0)
for entry in MESH_SIGNALLING_TABLE:
# if in arq state, interrupt dispatcher
if ARQ.arq_state or ARQ.arq_session:
break
#print(entry)
attempt = entry[5]
status = entry[6]

View file

@ -129,7 +129,7 @@ class TCIParam:
@dataclass
class TNC:
version = "0.10.1-alpha.5"
version = "0.10.1-alpha.6"
host: str = "0.0.0.0"
port: int = 3000
SOCKET_TIMEOUT: int = 1 # seconds