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

RemoteCKAN: use requests.Session #91

Merged
merged 6 commits into from
Aug 2, 2016
Merged

Conversation

wardi
Copy link
Contributor

@wardi wardi commented Jun 21, 2016

Let's reuse a connection instead of making a new one for each action call.

@wardi
Copy link
Contributor Author

wardi commented Jun 21, 2016

This is a performance improvement but now leaves the connection open in the urllib3 pool until close() is called or automatically if RemoteCKAN is used as a context manager.

Need to update the docs, add some tests, and possibly add stubs for these methods on LocalCKAN and TestAppCKAN.

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.

1 participant