summaryrefslogtreecommitdiff
path: root/benchmarks/py-locust/files/patch-locust_main.py
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-06-12 18:51:22 -0400
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-06-12 20:21:40 -0400
commitcadda769f93f6743398bbeb88b8c3c2df0423535 (patch)
tree727d8655c9e0c4067254803e209fdb85a1205c3d /benchmarks/py-locust/files/patch-locust_main.py
parentbenchmarks/py-locust-cloud: New port: Hosted version of Locust that allows yo... (diff)
benchmarks/py-locust: Upgrade to 2.37.10
* Pet portclippy/portfmt. * Add distribution file for examples and test scripts (the release file does not include them, but includes the web UI which the repository does not have). * Remove examples (they are now incompatible with the new version of Locust). * Include updated examples from the repository. * Prefer to generate pkg-plist manually instead of relying on autoplist (since the sample scripts are included manually, it is preferable to manually generate the pkg-plist). * Change distutils in favor of pep517. * Fix binding in all interfaces when --web-host is set to '*'. ChangeLog: https://github.com/locustio/locust/compare/0.11.0...2.37.10 PR: 287027 Approved by: acm (mentor) Approved by: maintainer timeout (20 days)
Diffstat (limited to 'benchmarks/py-locust/files/patch-locust_main.py')
-rw-r--r--benchmarks/py-locust/files/patch-locust_main.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/py-locust/files/patch-locust_main.py b/benchmarks/py-locust/files/patch-locust_main.py
new file mode 100644
index 000000000000..fc7fc9d27587
--- /dev/null
+++ b/benchmarks/py-locust/files/patch-locust_main.py
@@ -0,0 +1,11 @@
+--- locust/main.py.orig 2025-06-12 22:34:12 UTC
++++ locust/main.py
+@@ -454,7 +454,7 @@ See https://github.com/locustio/locust/wiki/Installati
+ sys.exit(1)
+ if options.web_host == "*":
+ # special check for "*" so that we're consistent with --master-bind-host
+- web_host = ""
++ web_host = "0.0.0.0"
+ else:
+ web_host = options.web_host
+ if web_host: