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.
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) code(store) : operations.
def my_application_
# Perform database-
Of course, this logic wouldn't work everywhere, but having basic that
worked most of the time would be useful.