-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add functionality to run listener functions for custom_messages
concurrently
#2650
Add functionality to run listener functions for custom_messages
concurrently
#2650
Conversation
Hi @cyberw, I implemented a possible way to register concurrent I also thought about adding a new variable and function to the What do you think about it? |
Looks nice! Just fix the linting and I'll merge! |
Oh yea, add something to the documentation as well (mainly examples/custom_messages.py, but mention it in running-distributed.rst as well) |
@cyberw, pipeline seems to be fine. I added documentation and adjusted the example. |
Thanks! I'll make some small adjustments to the example, but no need to do it in this PR. |
Thanks a lot! Do you have a time estimate for the release? No pressure, just for my planning :) |
I dont have any release planned, but every merged pr becomes a prerelease. You can install it using pip install locust==2.24.2.dev8 |
Ah nice, didn't know that. Thanks a lot! |
I tried it out and tweaked the implementation a little. I hope this change doesnt break anything for you :) 061552f |
This MR adds the functionality to
Runners.register_message
to register aconcurrent
function.Issue #2608 explains this PR in more detail.