From 5acdc338ba314184b8bdb79a3530f3ca9645fec0 Mon Sep 17 00:00:00 2001 From: dj2ls Date: Wed, 26 Oct 2022 09:05:47 +0200 Subject: [PATCH] improved session disconnect inline documentation --- tnc/data_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tnc/data_handler.py b/tnc/data_handler.py index 5e276b39..a4cd2d01 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -1525,7 +1525,8 @@ class DATA: # -> if not session master # --> this will be triggered by heartbeat watchdog # -> if not during a file transfer - # -> if ARQ_SESSION_STATE != disconnecting to avoid heartbeat toggle loops while disconnecting + # -> if ARQ_SESSION_STATE != disconnecting, disconnected, failed + # --> to avoid heartbeat toggle loops while disconnecting if ( not self.IS_ARQ_SESSION_MASTER and not self.arq_file_transfer