From f90aa1c9b8c33f12dd1b5ad9a87f1cf9c2550b57 Mon Sep 17 00:00:00 2001 From: mayaCostantini Date: Fri, 11 Feb 2022 13:46:29 +0100 Subject: [PATCH 1/2] Fix link to distributed load generation documentation in CPU log warning --- locust/runners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locust/runners.py b/locust/runners.py index 386dd2ac2b..15dc97b57d 100644 --- a/locust/runners.py +++ b/locust/runners.py @@ -196,7 +196,7 @@ def cpu_log_warning(self) -> bool: """Called at the end of the test""" if self.cpu_warning_emitted: logger.warning( - "CPU usage was too high at some point during the test! See https://docs.locust.io/en/stable/running-locust-distributed.html for how to distribute the load over multiple CPU cores or machines" + "CPU usage was too high at some point during the test! See http://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines" ) return self.cpu_warning_emitted From 39eecf3d90a19c216cf3528fe37c0d00fa38ec06 Mon Sep 17 00:00:00 2001 From: mayaCostantini Date: Fri, 11 Feb 2022 14:04:32 +0100 Subject: [PATCH 2/2] Fix http to https --- locust/runners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locust/runners.py b/locust/runners.py index 15dc97b57d..fabebed0cd 100644 --- a/locust/runners.py +++ b/locust/runners.py @@ -196,7 +196,7 @@ def cpu_log_warning(self) -> bool: """Called at the end of the test""" if self.cpu_warning_emitted: logger.warning( - "CPU usage was too high at some point during the test! See http://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines" + "CPU usage was too high at some point during the test! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines" ) return self.cpu_warning_emitted