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 nice higher level behavior.  I'd be
> > willing to do this work over this weekend.
> Cool.  Don't forget the transaction note part. :)
> Too many transactions in our apps don't have
> notes, especially transactions that happen
> outside of web requests.

I've started using transaction.get().note() liberally only after I was
able to see the notes in ZODBBrowser (and became annoyed by transactions
that didn't have notes).

That reminds me, I need to patch ZODBBrowser to show extended info (such as
the request type and URL).

Marius Gedminas
Shift happens.
                -- Doppler

Attachment: signature.asc
Description: Digital signature

For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to