summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2016-05-17 09:55:26 +0200
committerJulien Danjou <julien@danjou.info>2016-05-17 17:23:12 +0200
commit663092d675bca7c2420665b820db9306e381d73f (patch)
tree6932acdd0c285c502f874ca48566670456835062 /tools
parent3ac4f3f2d8ddfd60543b978026ce37ab2f767cab (diff)
downloadoslo-db-663092d675bca7c2420665b820db9306e381d73f.tar.gz
api: always enable retry_on_request
The current behavior makes by default retry_on_request does not work, which is confusing. Nothing except the developer can raise a RetryRequest, so there can not be any misunderstanding. Having to both enable the switch *and* raise RetryRequest makes it more complicated than it needs to be. This patch simplifies the API by deprecating retry_on_request and retry_on_request() decorator, enabling the exception everywhere wrap_db_retry() is used. Change-Id: I3c53b5c8ba99f460153256fb2e1e6ef01b67f41b
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions