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

Distributed mode question/concern #600

Closed
alexmnyc opened this issue Jun 7, 2017 · 1 comment
Closed

Distributed mode question/concern #600

alexmnyc opened this issue Jun 7, 2017 · 1 comment

Comments

@alexmnyc
Copy link

alexmnyc commented Jun 7, 2017

How does the master deal with nodes coming online and offline. I see the slave count never decreases. Is there any slave node lifecycle type of methodology used to handle that?

@aldenpeterson-wf
Copy link
Contributor

It looks like a few events trigger Locust cleaning this up:

https://github.com/locustio/locust/blob/master/locust/runners.py#L341-L344
https://github.com/locustio/locust/blob/master/locust/runners.py#L326-L330

But, as far as I can tell if a slave just vanishes locust will just stop listening to events from it.

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

No branches or pull requests

2 participants