Re: so, is connection.poll() supposed to block? - Mailing list psycopg

From Federico Di Gregorio
Subject Re: so, is connection.poll() supposed to block?
Date
Msg-id 4E896FBD.50609@dndg.it
Whole thread Raw
In response to Re: so, is connection.poll() supposed to block?  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Responses Re: so, is connection.poll() supposed to block?  (Croepha <croepha@gmail.com>)
List psycopg
On 01/10/11 10:41, Daniele Varrazzo wrote:
> On Sat, Oct 1, 2011 at 9:18 AM, Croepha <croepha@gmail.com> wrote:
>> > It seems to be blocking, (or waiting on IO at times...) What is the point to
>> > doing a select on the connection if poll is going to block?
> Have you vented? Ok, great. Now, care to provide an example of what
> you're talking about?

He's probably polling a synchronous connection.

federico

--
Federico Di Gregorio                                       fog@initd.org
 When people say things are a lot more complicated than that, they
  means they're getting worried that they won't like the truth.
                                                    -- Granny Weatherwax

psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Re: so, is connection.poll() supposed to block?
Next
From: Croepha
Date:
Subject: Re: so, is connection.poll() supposed to block?