druid-io / pydruid

A Python connector for Druid
Other
506 stars 194 forks source link

Support for timeout customization in AsyncPyDruid #140

Open yuandixia opened 5 years ago

yuandixia commented 5 years ago

Currently the AsyncPyDruid use default 20s timeout value in tornado HTTPRequest, which produce timeout errors frequently for me when doing some heavy queries. It'll be great if we can customize this value.

wjdecorte commented 5 years ago

Is there any plan to make this change? We are currently experiencing a timeout issue and need a way to increase the timeout for tornado HTTPRequest.

wjdecorte commented 5 years ago

I've created a branch on my fork for this feature. I'd like to have it integrated into this repository, but I'm new to the process. I'll submit a pull request. Please let me know if I need to do anything else.

Branch

wjdecorte commented 5 years ago

@yuandixia This has been implemented. Pull Request