Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting initial _cp_last_run on TaskSet in order to allow constant_pacing wait time strategy #2533

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

ionutab
Copy link
Contributor

@ionutab ionutab commented Jan 4, 2024

fixes #2532

Setting the initial value for _cp_last_run inside the TaskSet initializer.
Thus the attribute will not be missing when being called inside the constant_pacing wait time strategy.
Similar to what is happening in the User class.

@cyberw cyberw merged commit 9f2715f into locustio:master Jan 4, 2024
15 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.

TaskSet missing _cp_last_run attribute
2 participants