diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-01-27 15:33:15 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-01-27 15:33:15 +0000 |
commit | 32359046d9d135b95d3fa573f4996e8d65594cb0 (patch) | |
tree | 565d04af8fb1429a00d74a469648e135c9396af9 /oslo_db/options.py | |
parent | 776907b9fa66efa12f02a6474989e5ce12075eaf (diff) | |
parent | 1b7c295d522e26aa8bf09242dcc1355c3fb1ab3e (diff) | |
download | oslo-db-32359046d9d135b95d3fa573f4996e8d65594cb0.tar.gz |
Merge "Retry query if db deadlock error is received"
Diffstat (limited to 'oslo_db/options.py')
-rw-r--r-- | oslo_db/options.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/oslo_db/options.py b/oslo_db/options.py index 5daba74..42de948 100644 --- a/oslo_db/options.py +++ b/oslo_db/options.py @@ -119,18 +119,20 @@ database_opts = [ 'on connection lost.'), cfg.IntOpt('db_retry_interval', default=1, - help='Seconds between database connection retries.'), + help='Seconds between retries of a database transaction.'), cfg.BoolOpt('db_inc_retry_interval', default=True, - help='If True, increases the interval between database ' - 'connection retries up to db_max_retry_interval.'), + help='If True, increases the interval between retries ' + 'of a database operation up to db_max_retry_interval.'), cfg.IntOpt('db_max_retry_interval', default=10, help='If db_inc_retry_interval is set, the ' - 'maximum seconds between database connection retries.'), + 'maximum seconds between retries of a ' + 'database operation.'), cfg.IntOpt('db_max_retries', default=20, - help='Maximum database connection retries before error is ' + help='Maximum retries in case of connection error or deadlock ' + 'error before error is ' 'raised. Set to -1 to specify an infinite retry ' 'count.'), ] |