Agent: Rename _batch_and_send_events_thread -> _BatchAndSendEventsThread

This commit is contained in:
Shreya Malviya 2022-09-14 13:34:34 +05:30
parent 1ad13db758
commit 8256322a29
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class SendAllAgentEventsToIsland:
self._server_address = server_address self._server_address = server_address
self._queue: queue.Queue[AbstractAgentEvent] = queue.Queue() self._queue: queue.Queue[AbstractAgentEvent] = queue.Queue()
self._send_to_island_thread = self._batch_and_send_events_thread( self._send_to_island_thread = self._BatchAndSendEventsThread(
self._queue, self._server_address, DEFAULT_TIME_PERIOD_SECONDS self._queue, self._server_address, DEFAULT_TIME_PERIOD_SECONDS
) )
self._send_to_island_thread.start() self._send_to_island_thread.start()
@ -38,7 +38,7 @@ class SendAllAgentEventsToIsland:
def _serialize_event(self, event: AbstractAgentEvent): def _serialize_event(self, event: AbstractAgentEvent):
pass pass
class _batch_and_send_events_thread: class _BatchAndSendEventsThread:
""" """
Handles the batching and sending of the Agent's events to the Island Handles the batching and sending of the Agent's events to the Island
""" """