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

Add requests session param tip. #201

Merged
merged 1 commit into from
Jun 6, 2017

Conversation

Colstuwjx
Copy link

Hi folks,

I'd suggest adding the param note in the MarathonClient initial method as I have been stricken by the requests.session reusing issue.

In my environment, my web server calls a lot of times to marathon via marathon-python, and I initial the client each call, so it appears thousands of TIME_WAIT connections on the server. Thus, adding the session param hint will help the others clear about that.

Thanks.

@solarkennedy solarkennedy merged commit 9671f04 into thefactory:master Jun 6, 2017
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