Reenable retry wrapper on database operations
This commit is contained in:
parent
d3d9cca182
commit
d15dcae505
1 changed files with 2 additions and 3 deletions
|
@ -306,9 +306,8 @@ def _db_from_url(url, db_kwargs, connect_timeout=DEFAULT_DB_CONNECT_TIMEOUT):
|
|||
db_kwargs.pop('stale_timeout', None)
|
||||
db_kwargs.pop('max_connections', None)
|
||||
|
||||
# wrapped_driver = _wrap_for_retry(driver)
|
||||
# return wrapped_driver(parsed_url.database, **db_kwargs)
|
||||
return driver(parsed_url.database, **db_kwargs)
|
||||
wrapped_driver = _wrap_for_retry(driver)
|
||||
return wrapped_driver(parsed_url.database, **db_kwargs)
|
||||
|
||||
|
||||
def configure(config_object):
|
||||
|
|
Reference in a new issue