Skip to content
This repository has been archived by the owner on Mar 5, 2019. It is now read-only.

Use a connection pool for faraday connections #2

Closed
wants to merge 4 commits into from

Conversation

workmad3
Copy link

Uses a connection pool around faraday clients instead of assuming the faraday connection is shareable arbitrarily across threads (it most likely isn't).

If a connection is assigned directly, this gets wrapped in a connection pool with a size of 1. Otherwise, the connection pool will be created as part of the client setup.

Upstream PR: balvig#63

Forgot to require connection_pool.

Needed to alias the test connection in order to alter it for the ORM
tests.
@workmad3 workmad3 changed the title Connection pool Use a connection pool for faraday connections Oct 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants