Files
deb-python-oslo.db/oslo_db/api.py
Julien Danjou 8e3b356680 api: use sane default in wrap_db_retry()
The current defaults do not make much sense: having max_retries set to 0
completely avoid any retry, which is the whole point of that wrapper.

This patch moves the correct default values from the DBAPI object to the
wrap_db_retry() function itself.

Change-Id: I89c2bd09e69b8b77b716573eb8b889c01f9d0f54
2016-06-29 13:38:02 +02:00

10 KiB