tempodb / tempodb-python

Python client for TempoDB
MIT License
28 stars 19 forks source link

Added new Client options for connection pool config #16

Closed davidmytton closed 11 years ago

davidmytton commented 11 years ago

The default connection pool size in Python requests is 10. This is insufficient for high volume requests because the pool will be quickly exhausted with an "HttpConnectionPool is full, discarding connection: api.tempo-db.com" error. This allows the user to configure the poolsize to meet their own requirements if the default is insufficient.

myagley commented 11 years ago

Thanks for the pull request. We appreciate it! We have some changes to the clients in the works that'll be coming out in a little while. Are you ok running your fork or would you like me to roll a patch release now? Thanks!

davidmytton commented 11 years ago

How long do you expect until the next release? A patch release would be ideal but it's not a major hassle to set up our deploy system to use the fork.

myagley commented 11 years ago

I just released version 0.4.2 to pypi. This includes your connection pool changes as well as a few edits to the documentation.