Agent: Remove unneccessary call in SocketsPipe

This commit is contained in:
Kekoa Kaaikala 2022-09-06 12:52:00 +00:00
parent 311807cf31
commit 906edf3662
1 changed files with 0 additions and 3 deletions

View File

@ -3,8 +3,6 @@ from logging import getLogger
from threading import Thread
from typing import Callable
from infection_monkey.transport.base import update_last_serve_time
READ_BUFFER_SIZE = 8192
SOCKET_READ_TIMEOUT = 10
@ -42,7 +40,6 @@ class SocketsPipe(Thread):
if data:
try:
other.sendall(data)
update_last_serve_time()
except Exception:
break
self._keep_connection = True