Agent: Remove unneccessary call in SocketsPipe
This commit is contained in:
parent
311807cf31
commit
906edf3662
|
@ -3,8 +3,6 @@ from logging import getLogger
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
from typing import Callable
|
from typing import Callable
|
||||||
|
|
||||||
from infection_monkey.transport.base import update_last_serve_time
|
|
||||||
|
|
||||||
READ_BUFFER_SIZE = 8192
|
READ_BUFFER_SIZE = 8192
|
||||||
SOCKET_READ_TIMEOUT = 10
|
SOCKET_READ_TIMEOUT = 10
|
||||||
|
|
||||||
|
@ -42,7 +40,6 @@ class SocketsPipe(Thread):
|
||||||
if data:
|
if data:
|
||||||
try:
|
try:
|
||||||
other.sendall(data)
|
other.sendall(data)
|
||||||
update_last_serve_time()
|
|
||||||
except Exception:
|
except Exception:
|
||||||
break
|
break
|
||||||
self._keep_connection = True
|
self._keep_connection = True
|
||||||
|
|
Loading…
Reference in New Issue