From 81e6b0ae8cc13c2f5c189e1d206019ab8e8434b2 Mon Sep 17 00:00:00 2001 From: Lu lei Date: Thu, 25 Aug 2016 18:28:03 +0800 Subject: [PATCH] Stop using config option sqlite_db Config option sqlite_db is deprecated in 0a1bae9859079fb21a03716be947c5f1da6db0a2, and now we use database with sqlite in memory mode[1] like this: CONF.set_default('connection', "sqlite://", group='database') here not use config option sqlite_db any more, so don't need override its default value. [1]http://docs.sqlalchemy.org/en/rel_1_0/core/engines.html#sqlite Change-Id: I487b80107a84d6442b700afbdbafbb96fc311b1d --- tacker/common/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tacker/common/config.py b/tacker/common/config.py index 3229ff40f..4029d4eed 100644 --- a/tacker/common/config.py +++ b/tacker/common/config.py @@ -107,7 +107,7 @@ def set_db_defaults(): db_options.set_defaults( cfg.CONF, connection='sqlite://', - sqlite_db='', max_pool_size=10, + max_pool_size=10, max_overflow=20, pool_timeout=10) set_db_defaults()