From 4381716e549c7b4af8bed50fee7ca5f37373bb74 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Tue, 13 Sep 2022 19:33:38 +0530 Subject: [PATCH] Agent: Remove unused variables in send_all_events_to_island.py --- monkey/infection_monkey/send_all_events_to_island.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/monkey/infection_monkey/send_all_events_to_island.py b/monkey/infection_monkey/send_all_events_to_island.py index ecd895464..4e03a5239 100644 --- a/monkey/infection_monkey/send_all_events_to_island.py +++ b/monkey/infection_monkey/send_all_events_to_island.py @@ -2,7 +2,6 @@ import logging import queue import threading from time import sleep -from typing import Set import requests @@ -12,7 +11,6 @@ from common.events import AbstractAgentEvent logger = logging.getLogger(__name__) -WAKES_PER_PERIOD = 4 DEFAULT_TIME_PERIOD_SECONDS = 5 EVENTS_API_URL = "https://%s/api/events" @@ -50,7 +48,6 @@ class send_all_events_to_island: self._server_address = server_address self._time_period = time_period - self._event_batch: Set = set() self._should_run_batch_and_send_thread = True def start(self):