On Wed, Jun 13, 2012 at 2:11 PM, Paul McNett <[email protected]> wrote:
> On 6/13/12 11:01 AM, Nate Lowrie wrote:
>> I'll rewrite it to use the keepAliveInterval as the sleep duration and
>> to move the object creation out of the while loop.  I had changed the
>> interval to 1 but it didn't do anything noticeable.
>
> FYI:
>
> """
> If you let two threads use a connection simultaneously, the MySQL client 
> library will
> probably upchuck and die. You have been warned.
> """
> -- http://mysql-python.sourceforge.net/MySQLdb.html
>
> IOW, if dabo is in the middle of a transaction on that connection object, and 
> the
> keepalive kicks in...

I'll bet that this is the reason why it was barfing...  Do we have a
way of checking if the connection is being used?

Regards,

Nate
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/cagchxzb6dlwn5ow9svyn_rkpd+4nhzjcgzwy25ks0aq1e-q...@mail.gmail.com

Reply via email to