mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
interrupt mesh dispatcher while in arq state
This commit is contained in:
parent
5055c65838
commit
0e0620deee
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue