diff --git a/monkey/infection_monkey/network/network_scanner.py b/monkey/infection_monkey/network/network_scanner.py index 8fd8c2b65..ccffcbbbb 100644 --- a/monkey/infection_monkey/network/network_scanner.py +++ b/monkey/infection_monkey/network/network_scanner.py @@ -107,7 +107,8 @@ class NetworkScanner(object): break if WormConfiguration.tcp_scan_interval: - time.sleep(WormConfiguration.tcp_scan_interval) + # time.sleep uses seconds, while config is in milliseconds + time.sleep(WormConfiguration.tcp_scan_interval/1000) @staticmethod def _is_any_ip_in_subnet(ip_addresses, subnet_str):