locust 2.41.1__py3-none-any.whl → 2.41.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- locust/_version.py +2 -2
- locust/main.py +2 -2
- locust/runners.py +4 -4
- locust/webui/dist/assets/{index-Csg0r0Q2.js → index-K-WEtXhX.js} +57 -57
- locust/webui/dist/auth.html +1 -1
- locust/webui/dist/index.html +1 -1
- locust/webui/dist/report.html +20 -20
- {locust-2.41.1.dist-info → locust-2.41.2.dist-info}/METADATA +1 -1
- {locust-2.41.1.dist-info → locust-2.41.2.dist-info}/RECORD +13 -13
- pytest_locust/plugin.py +7 -1
- {locust-2.41.1.dist-info → locust-2.41.2.dist-info}/WHEEL +0 -0
- {locust-2.41.1.dist-info → locust-2.41.2.dist-info}/entry_points.txt +0 -0
- {locust-2.41.1.dist-info → locust-2.41.2.dist-info}/licenses/LICENSE +0 -0
locust/_version.py
CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
28
28
|
commit_id: COMMIT_ID
|
29
29
|
__commit_id__: COMMIT_ID
|
30
30
|
|
31
|
-
__version__ = version = '2.41.
|
32
|
-
__version_tuple__ = version_tuple = (2, 41,
|
31
|
+
__version__ = version = '2.41.2'
|
32
|
+
__version_tuple__ = version_tuple = (2, 41, 2)
|
33
33
|
|
34
34
|
__commit_id__ = commit_id = None
|
locust/main.py
CHANGED
@@ -437,7 +437,7 @@ See https://github.com/locustio/locust/wiki/Installation#increasing-maximum-numb
|
|
437
437
|
|
438
438
|
if options.run_time:
|
439
439
|
if options.worker:
|
440
|
-
logger.
|
440
|
+
logger.debug("--run-time specified for a worker node will be ignored.")
|
441
441
|
|
442
442
|
if options.csv_prefix:
|
443
443
|
base_csv_file = os.path.basename(options.csv_prefix)
|
@@ -491,7 +491,7 @@ See https://github.com/locustio/locust/wiki/Installation#increasing-maximum-numb
|
|
491
491
|
logger.info("The --autostart argument is implied by --headless, no need to set both.")
|
492
492
|
|
493
493
|
if options.autostart and options.worker:
|
494
|
-
logger.
|
494
|
+
logger.debug("The --autostart argument has no meaning on a worker.")
|
495
495
|
|
496
496
|
def assign_equal_weights(environment, **kwargs):
|
497
497
|
environment.assign_equal_weights()
|
locust/runners.py
CHANGED
@@ -1434,9 +1434,9 @@ class WorkerRunner(DistributedRunner):
|
|
1434
1434
|
while True:
|
1435
1435
|
current_logs = get_logs()
|
1436
1436
|
|
1437
|
-
if (len(current_logs) - len(self.logs)) >
|
1437
|
+
if (len(current_logs) - len(self.logs)) > 70:
|
1438
1438
|
logger.warning(
|
1439
|
-
"The worker attempted to send more than
|
1439
|
+
"The worker attempted to send more than 70 log lines in one interval. Further log sending was disabled for this worker."
|
1440
1440
|
)
|
1441
1441
|
self._send_logs(get_logs())
|
1442
1442
|
break
|
@@ -1474,12 +1474,12 @@ class WorkerRunner(DistributedRunner):
|
|
1474
1474
|
# dont complain about getting CTRL-C
|
1475
1475
|
sys.exit(1)
|
1476
1476
|
if not success:
|
1477
|
-
if self.retry <
|
1477
|
+
if self.retry < 30 / CONNECT_TIMEOUT: # lower log level during the first 30 seconds
|
1478
1478
|
logger.debug(
|
1479
1479
|
f"Failed to connect to master {self.master_host}:{self.master_port}{self.web_base_path}, retry {self.retry}/{CONNECT_RETRY_COUNT}."
|
1480
1480
|
)
|
1481
1481
|
else:
|
1482
|
-
logger.
|
1482
|
+
logger.info(
|
1483
1483
|
f"Failed to connect to master {self.master_host}:{self.master_port}{self.web_base_path}, retry {self.retry}/{CONNECT_RETRY_COUNT}."
|
1484
1484
|
)
|
1485
1485
|
if self.retry > CONNECT_RETRY_COUNT:
|