ing-bank / scruid

Scala + Druid: Scruid. A library that allows you to compose queries in Scala, and parse the result back into typesafe classes.
Apache License 2.0
115 stars 29 forks source link

TimeoutException on big payloads #16

Closed vkorchik closed 6 years ago

vkorchik commented 6 years ago

Hi, guys When fetсhing a big json from druid, Scruid is unable to parse it in 5 seconds (hardcoded here), and fails. I see you have a config entry readTimeout, I think it was supposed to be in this place instead of hardcode. Now it's just a config entry doing nothing.

Hope it will be fixed soon. Thank you.

Fokko commented 6 years ago

Thanks @vkorchik for reaching out. @mrooding just pushed a patch that makes the response timeout configurable. If there are any further issues, please let me know. Cheers!