Converted the pool_recycle setting to be a flag with a default of 3600 seconds

This commit is contained in:
Ryan Lucio
2010-12-30 16:21:11 -08:00
parent 7ab9d7c8e9
commit 803c0e37c6

View File

@@ -260,6 +260,9 @@ DEFINE_string('state_path', os.path.join(os.path.dirname(__file__), '../'),
DEFINE_string('sql_connection',
'sqlite:///$state_path/nova.sqlite',
'connection string for sql database')
DEFINE_string('sql_idle_timeout',
'3600',
'timeout for idle sql database connections')
DEFINE_string('compute_manager', 'nova.compute.manager.ComputeManager',
'Manager for compute')