Skip to content

[FIX] : correct the user count metric for distributed runs - #3507

Merged
cyberw merged 1 commit into
locustio:masterfrom
RamachandraBhardwaj:fix/maste-user-count
Sep 7, 2026
Merged

[FIX] : correct the user count metric for distributed runs#3507
cyberw merged 1 commit into
locustio:masterfrom
RamachandraBhardwaj:fix/maste-user-count

Conversation

@RamachandraBhardwaj

Copy link
Copy Markdown
Contributor

Problem

We faced inconsistent user count when running and recording user counts with --processes and --master flags. Local runs - were unaffected.

Solution

Essentially Master must have the accumulated user count while workers must not have the metric attached to them. We skip registering for WorkerRunner and have it for MasterRunner

@cyberw
cyberw merged commit 68bd224 into locustio:master Sep 7, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants