thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Kuebrich <dan.kuebr...@gmail.com>
Subject Re: Python - Killing an active Thrift call
Date Thu, 14 Jun 2012 19:06:01 GMT
I don't know that there's a built-in facility for this, but it sounds like
what timeouts are often used for.  How are you receiving the info that the
other side won't return? Can you use timeouts on the thrift client sockets
for this?

On Thu, Jun 14, 2012 at 2:43 PM, Steve <steve@subwest.com> wrote:

> Hi,
>
> Is it possible to kill an active/open request in Python?
>
> I have locking code around a thrift call, but sometimes the other side
> (server) doesn't return (not in my control).  I would like to force that
> connection to close so that the thread can continue on.
>
> I've tried to close the transport, thinking it would fail out, but no luck.
>
> Thanks.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message