ovs_quantum_plugin should use reconnect_interval in common conf.

Fixes Bug : 1029680

Change-Id: I5dd2467bc5e287bbb5ff4a2527b9f701375fa376
This commit is contained in:
Nachi Ueno 2012-07-26 22:54:18 +00:00
parent 7d9d8b4995
commit cf22f5c429

View File

@ -270,7 +270,7 @@ class OVSQuantumPluginV2(db_base_plugin_v2.QuantumDbPluginV2):
options.update({'base': models_v2.model_base.BASEV2})
sql_max_retries = cfg.CONF.DATABASE.sql_max_retries
options.update({"sql_max_retries": sql_max_retries})
reconnect_interval = conf.DATABASE.reconnect_interval
reconnect_interval = cfg.CONF.DATABASE.reconnect_interval
options.update({"reconnect_interval": reconnect_interval})
db.configure_db(options)