]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Rename constant to a more appropriate name
authorKevin Benton <blak111@gmail.com>
Sat, 18 Oct 2014 07:38:57 +0000 (00:38 -0700)
committerKevin Benton <kevinbenton@buttewifi.com>
Wed, 29 Oct 2014 07:11:43 +0000 (07:11 +0000)
commit761c967614902d78a84c7e6a56b9117a322fc5b9
tree5e555e4e436123e156c616ae44c8dd85ccf31763
parentfd37ce7d943ab1c2dbc1cf3b6f0187c227f658ad
Rename constant to a more appropriate name

The DB_MAX_RETRIES implies that a query will be
retried that many times. 'retry' means it happened
once before. In the current code, if DB_MAX_RETRIES
is set to 1, the query won't be retried at all.
If it's set to 0, the query won't even be run.

This constant should actually be called DB_MAX_ATTEMPTS
to indicate that the variable includes the first try.

Change-Id: I13f088ffa38c40db7fd297173e892b4ad5c7fadd
neutron/plugins/ml2/drivers/helpers.py