Comment 0 for bug 738685

Revision history for this message
Jamu Kakar (jkakar) wrote :

It would be nice to provide a builtin function for peforming
transactions replay logic when a DisconnectionError occurs. Something
that could be used like:

    @transact(retries=3)
    def my_application_code(store):
        # Perform database-operations.

Of course, this logic wouldn't work everywhere, but having basic that
worked most of the time would be useful.