2011-03-20 13:03:56 |
Jamu Kakar |
description |
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 performing
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. |
|
2011-03-20 13:04:30 |
Jamu Kakar |
description |
It would be nice to provide a builtin function for performing
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 performing
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 something
basic that worked most of the time, and could be used as a base to
build on, would be useful. |
|