summaryrefslogtreecommitdiffstats
path: root/nova/flags.py
diff options
context:
space:
mode:
authorAnne Gentle <anne@openstack.org>2011-01-07 10:57:53 -0600
committerAnne Gentle <anne@openstack.org>2011-01-07 10:57:53 -0600
commit5d02ee9e5f1502de2d379ce1acbc7e6bae1732f1 (patch)
treee75bc3a452904d8e28db0d2a69b44d726835b0f0 /nova/flags.py
parent80d10d960d0d472bf9a1d35bce081fb350c98a35 (diff)
parente33102d23ec8f357c08e2583f8d9e3c1753bab4d (diff)
downloadnova-5d02ee9e5f1502de2d379ce1acbc7e6bae1732f1.tar.gz
nova-5d02ee9e5f1502de2d379ce1acbc7e6bae1732f1.tar.xz
nova-5d02ee9e5f1502de2d379ce1acbc7e6bae1732f1.zip
Merged with trunk
Diffstat (limited to 'nova/flags.py')
-rw-r--r--nova/flags.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/flags.py b/nova/flags.py
index e872ba217..4b7334927 100644
--- a/nova/flags.py
+++ b/nova/flags.py
@@ -266,6 +266,8 @@ DEFINE_string('sql_connection',
DEFINE_string('sql_idle_timeout',
'3600',
'timeout for idle sql database connections')
+DEFINE_integer('sql_max_retries', 12, 'sql connection attempts')
+DEFINE_integer('sql_retry_interval', 10, 'sql connection retry interval')
DEFINE_string('compute_manager', 'nova.compute.manager.ComputeManager',
'Manager for compute')