-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-2724: Fix CouchDB max open connections
Client and Transport are reusable and thread safe, so initialize once and reuse across requests. Also close the response body properly by consuming it fully before closing it to allow the underlying RoundTripper to reuse the transport for subsequent requests. Change-Id: I1d1692ee96db1ed91a0eaccbe81439312c6935ac Signed-off-by: Balaji Viswanathan <balaji.viswanathan@gmail.com> Signed-off-by: denyeart <enyeart@us.ibm.com>
- Loading branch information
1 parent
8ce1073
commit 3dcc32f
Showing
2 changed files
with
40 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters