Yelp / threat_intel

Threat Intelligence APIs
MIT License
273 stars 56 forks source link

Issue 49 : Fix discarding of session connections due to connection pool being filled #74

Closed leeren closed 6 years ago

leeren commented 6 years ago

This fix addresses the previous warnings generated due to pool sizes of the underlying SSL adapter being used to make threat intel API requests going over the maximum threshold. The fix was as simple as configuring the adapter to utilize a maximum pool size corresponding to the maximum of 10 (HTTP Adapter's default pool size) and the batch size specified for async grequests.