Re: [ZODB-Dev] transaction Attempts class

2012-03-29 Thread Chris McDonough
On Wed, 2012-03-28 at 18:37 -0400, Chris McDonough wrote: On Wed, 2012-03-28 at 17:06 -0400, Jim Fulton wrote: On Wed, Mar 28, 2012 at 4:37 PM, Chris McDonough chr...@plope.com wrote: On Wed, 2012-03-28 at 14:21 -0400, Jim Fulton wrote: ... A decorator for running some code in the

Re: [ZODB-Dev] transaction Attempts class

2012-03-29 Thread Jim Fulton
On Thu, Mar 29, 2012 at 2:50 AM, Chris McDonough chr...@plope.com wrote: On Wed, 2012-03-28 at 18:37 -0400, Chris McDonough wrote: On Wed, 2012-03-28 at 17:06 -0400, Jim Fulton wrote: On Wed, Mar 28, 2012 at 4:37 PM, Chris McDonough chr...@plope.com wrote: On Wed, 2012-03-28 at 14:21 -0400,

Re: [ZODB-Dev] transaction Attempts class

2012-03-29 Thread Jim Fulton
On Wed, Mar 28, 2012 at 6:37 PM, Chris McDonough chr...@plope.com wrote: On Wed, 2012-03-28 at 17:06 -0400, Jim Fulton wrote: On Wed, Mar 28, 2012 at 4:37 PM, Chris McDonough chr...@plope.com wrote: On Wed, 2012-03-28 at 14:21 -0400, Jim Fulton wrote: ... A decorator for running some code

Re: [ZODB-Dev] transaction Attempts class

2012-03-29 Thread Marius Gedminas
On Wed, Mar 28, 2012 at 05:06:37PM -0400, Jim Fulton wrote: On Wed, Mar 28, 2012 at 4:37 PM, Chris McDonough chr...@plope.com wrote: On Wed, 2012-03-28 at 14:21 -0400, Jim Fulton wrote: ... A decorator for running some code in the context of a txn and retrying retryable exceptions would be

Re: [ZODB-Dev] Error installing ZODB (transaction 1.2.0)

2012-03-29 Thread Marius Gedminas
On Thu, Mar 29, 2012 at 07:56:54AM +0200, Thierry Florac wrote: Le Wed, 28 Mar 2012 19:21:51 +, Bahr, Eric eric.b...@northwestern.com a �crit: I am using the following that seem to be working fine, and I would like to continue using them, but don't know how to transfer them to

[ZODB-Dev] How does automatic retrying work?

2012-03-29 Thread Claudiu Saftoiu
Hello all, I have an HTTP request which has roughly two parts to it. One part requires a lot of processing with a small chance of a DatabaseConflict, while the other part requires little processing with a high chance of a DatabaseConflict. I'd like to do something like this: def

Re: [ZODB-Dev] transaction Attempts class

2012-03-29 Thread Chris McDonough
On Thu, 2012-03-29 at 07:18 -0400, Jim Fulton wrote: On Wed, Mar 28, 2012 at 6:37 PM, Chris McDonough chr...@plope.com wrote: On Wed, 2012-03-28 at 17:06 -0400, Jim Fulton wrote: On Wed, Mar 28, 2012 at 4:37 PM, Chris McDonough chr...@plope.com wrote: On Wed, 2012-03-28 at 14:21 -0400, Jim