From 649deac81bbc59d70f0cd1f2e442f434d089bbef Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 6 Sep 2023 11:45:32 +0200 Subject: [PATCH] shorter delay for proxy operations --- tmtcc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tmtcc.py b/tmtcc.py index 503cf9d..ddc100a 100755 --- a/tmtcc.py +++ b/tmtcc.py @@ -277,6 +277,9 @@ def main(): # noqa C901: Complexity okay here. _LOGGER.info("TMTC Client in IDLE mode") time.sleep(3.0) elif state.request == BackendRequest.DELAY_LISTENER: + if tc_handler.proxy_op: + time.sleep(0.1) + continue if tc_handler.cfdp_done(): _LOGGER.info("CFDP transaction done, closing client") sys.exit(0)