Allows multiple MySQL connections to be maintained using eventlet's db_pool.
This commit is contained in:
@@ -345,6 +345,12 @@ DEFINE_string('logdir', None, 'output to a per-service log file in named '
|
|||||||
'directory')
|
'directory')
|
||||||
DEFINE_integer('logfile_mode', 0644, 'Default file mode of the logs.')
|
DEFINE_integer('logfile_mode', 0644, 'Default file mode of the logs.')
|
||||||
DEFINE_string('sqlite_db', 'nova.sqlite', 'file name for sqlite')
|
DEFINE_string('sqlite_db', 'nova.sqlite', 'file name for sqlite')
|
||||||
|
DEFINE_integer('sql_pool_timeout', 30,
|
||||||
|
'seconds to wait for connection from pool before erroring')
|
||||||
|
DEFINE_integer('sql_min_pool_size', 10,
|
||||||
|
'minimum number of SQL connections to pool')
|
||||||
|
DEFINE_integer('sql_max_pool_size', 10,
|
||||||
|
'maximum number of SQL connections to pool')
|
||||||
DEFINE_string('sql_connection',
|
DEFINE_string('sql_connection',
|
||||||
'sqlite:///$state_path/$sqlite_db',
|
'sqlite:///$state_path/$sqlite_db',
|
||||||
'connection string for sql database')
|
'connection string for sql database')
|
||||||
|
|||||||
Reference in New Issue
Block a user