ovs_quantum_plugin should use reconnect_interval in common conf.
Fixes Bug : 1029680 Change-Id: I5dd2467bc5e287bbb5ff4a2527b9f701375fa376
This commit is contained in:
parent
7d9d8b4995
commit
cf22f5c429
@ -270,7 +270,7 @@ class OVSQuantumPluginV2(db_base_plugin_v2.QuantumDbPluginV2):
|
|||||||
options.update({'base': models_v2.model_base.BASEV2})
|
options.update({'base': models_v2.model_base.BASEV2})
|
||||||
sql_max_retries = cfg.CONF.DATABASE.sql_max_retries
|
sql_max_retries = cfg.CONF.DATABASE.sql_max_retries
|
||||||
options.update({"sql_max_retries": 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})
|
options.update({"reconnect_interval": reconnect_interval})
|
||||||
db.configure_db(options)
|
db.configure_db(options)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user