locust 2.30.1.dev25__py3-none-any.whl → 2.30.1.dev39__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 +7 -0
- locust/webui/dist/assets/{index-7dcacb4b.js → index-093e1f62.js} +62 -62
- locust/webui/dist/auth.html +1 -1
- locust/webui/dist/index.html +1 -1
- locust/webui/dist/report.html +60 -60
- {locust-2.30.1.dev25.dist-info → locust-2.30.1.dev39.dist-info}/METADATA +1 -1
- {locust-2.30.1.dev25.dist-info → locust-2.30.1.dev39.dist-info}/RECORD +11 -11
- {locust-2.30.1.dev25.dist-info → locust-2.30.1.dev39.dist-info}/LICENSE +0 -0
- {locust-2.30.1.dev25.dist-info → locust-2.30.1.dev39.dist-info}/WHEEL +0 -0
- {locust-2.30.1.dev25.dist-info → locust-2.30.1.dev39.dist-info}/entry_points.txt +0 -0
locust/_version.py
CHANGED
@@ -14,7 +14,7 @@ __version_tuple__: VERSION_TUPLE
|
|
14
14
|
version_tuple: VERSION_TUPLE
|
15
15
|
|
16
16
|
|
17
|
-
__version__ = "2.30.1.
|
17
|
+
__version__ = "2.30.1.dev39"
|
18
18
|
version = __version__
|
19
|
-
__version_tuple__ = (2, 30, 1, "
|
19
|
+
__version_tuple__ = (2, 30, 1, "dev39")
|
20
20
|
version_tuple = __version_tuple__
|
locust/main.py
CHANGED
@@ -328,6 +328,13 @@ def main():
|
|
328
328
|
# list() call is needed to consume the dict_view object in Python 3
|
329
329
|
user_classes = list(user_classes.values())
|
330
330
|
|
331
|
+
if not shape_class and options.num_users:
|
332
|
+
fixed_count_total = sum([user_class.fixed_count for user_class in user_classes])
|
333
|
+
if fixed_count_total > options.num_users:
|
334
|
+
logger.info(
|
335
|
+
f"Total fixed_count of User classes ({fixed_count_total}) is greater than the specified number of users ({options.num_users}), so not all will be spawned."
|
336
|
+
)
|
337
|
+
|
331
338
|
if os.name != "nt" and not options.master:
|
332
339
|
try:
|
333
340
|
import resource
|