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

Clients support keepalive connections ? #212

Closed
centminmod opened this issue Dec 3, 2014 · 3 comments
Closed

Clients support keepalive connections ? #212

centminmod opened this issue Dec 3, 2014 · 3 comments

Comments

@centminmod
Copy link

I read that Locus clients by default disable keepalive connections. But are they plans to give us the option to turn keepalive connections for Locust clients? or is there some hidden option already ?

cheers :)

@Jahaja
Copy link
Member

Jahaja commented Dec 6, 2014

No, there's no such plan nor a hidden option. Sorry.

@Jahaja Jahaja closed this as completed Dec 6, 2014
@tokuhirom
Copy link

(I found this issue when I googled "locust keep-alive". Just a note for my followers...)

It seems that there was no plan to support keep-alive at the time this issue was written. However, it seems that it was implemented as of the 0.6 release.

@cgoldberg
Copy link
Member

The default Locust client uses Requests. Requests session handles keep-alives:
http://docs.python-requests.org/en/master/user/advanced/#keep-alive

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

4 participants