Agent: No need to check relay existence
This commit is contained in:
parent
aac0bfe90b
commit
28f555498f
|
@ -192,9 +192,7 @@ class InfectionMonkey:
|
||||||
client_disconnect_timeout=config.keep_tunnel_open_time,
|
client_disconnect_timeout=config.keep_tunnel_open_time,
|
||||||
)
|
)
|
||||||
|
|
||||||
if self._relay and maximum_depth_reached(
|
if maximum_depth_reached(config.propagation.maximum_depth, self._current_depth):
|
||||||
config.propagation.maximum_depth, self._current_depth
|
|
||||||
):
|
|
||||||
self._relay.start()
|
self._relay.start()
|
||||||
|
|
||||||
StateTelem(is_done=False, version=get_version()).send()
|
StateTelem(is_done=False, version=get_version()).send()
|
||||||
|
|
Loading…
Reference in New Issue