Re: [Zope] Running multiple transactions during single request

2008-03-26 Thread Chris Withers
Charl Coetzee wrote: What was originally going to be small imports, now has the potential to have each single import request run for several hours just creating the data (e.g. saw a 2h one this morning). Sounds like you want Stepper ;-) http://www.simplistix.co.uk/software/zope/stepper (I

Re: [Zope] Running multiple transactions during single request

2008-03-26 Thread Charl Coetzee
Hmmn, I should have realized this. This is one of those cases where functionality was needed and got added quickly, now needs to be "kept afloat" to buy time in order to implement it more sensibly. What was originally going to be small imports, now has the potential to have each single impor

Re: [Zope] Running multiple transactions during single request

2008-03-26 Thread Chris Withers
Charl Coetzee wrote: if everyFifthPass: transaction.commit() transaction.begin() # end of while loop really does have the desired effect, where also ConflictError handling etc continue to work as expected, without nasty side effects etc. No, this does not h