Agent: Add join timeout for the relay thread

This commit is contained in:
Kekoa Kaaikala 2022-09-07 18:01:54 +00:00 committed by Mike Salvatore
parent 33aac19831
commit b74c42ff07
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ class InfectionMonkey:
if self._relay and self._relay.is_alive(): if self._relay and self._relay.is_alive():
self._relay.stop() self._relay.stop()
self._relay.join() self._relay.join(timeout=60)
if firewall.is_enabled(): if firewall.is_enabled():
firewall.remove_firewall_rule() firewall.remove_firewall_rule()