colinmarc / impala-ruby

an impala client for ruby
MIT License
34 stars 22 forks source link

app blocked forever on unrelieble connection #18

Open vidma opened 9 years ago

vidma commented 9 years ago

We've been using the gem for a while, all works nicely, except for the fact that it seems like even a short connection unreliability (e.g. packets lost, short VPN or wifi disconnection) during a query execution could block the whole application into an infinite loop.

has anyone else noticed this? ideas, how to solve it?

we also have a few of moderately slow queries (few minutes to 0,5h), so ideally the timeout mechanism should check if the query is still running...