[sqlalchemy] Re: session transaction slow

2007-05-23 Thread gmarshall
On May 22, 12:29 pm, [EMAIL PROTECTED] wrote: On May 22, 2007, at 2:12 PM, [EMAIL PROTECTED] wrote: I have a transaction that uses save_or_update() and takes 2-3 minutes to execute: There's some setup before the transaction (pseudocode for brevity) contact = Contact() # ...set

[sqlalchemy] session transaction slow

2007-05-22 Thread gmarshall
I have a transaction that uses save_or_update() and takes 2-3 minutes to execute: There's some setup before the transaction (pseudocode for brevity) contact = Contact() # ...set props on contact contact.user = User() # ...set props on user trans = None try: trans =