From 93fd31b0536eb32f4aa020af9bee2ec3a0bdd15f Mon Sep 17 00:00:00 2001 From: vakaris_zilius Date: Wed, 6 Apr 2022 11:18:48 +0000 Subject: [PATCH] Agent: Remove TODO for determining time between telem and exit Time taken is upto 10s for tunnel close and potentially up to 15 to send T1107Telem, so maximum up to 25 seconds --- monkey/infection_monkey/monkey.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index 922f315a1..e3d71a2f1 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -366,8 +366,6 @@ class InfectionMonkey: is_done=True, version=get_version() ).send() # Signal the server (before closing the tunnel) - # TODO: Determine how long between when we - # send telemetry and the monkey actually exits InfectionMonkey._close_tunnel() self._singleton.unlock() except Exception as e: