Add sqlalchemy_pool_size option to default config files
This patch exposes the sqlalchemy_pool_size option to config files of plugins that already expose sql_ options besides sql_connection. Fixes bug 1185260 Change-Id: Ifaff02fae5e5349efb992c071adc0b02f10d61a7
This commit is contained in:
parent
88d33e1cbf
commit
342751cb40
@ -22,6 +22,8 @@ reconnect_interval = 2
|
|||||||
# sql_max_pool_size = 5
|
# sql_max_pool_size = 5
|
||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
|
|
||||||
[RESTPROXY]
|
[RESTPROXY]
|
||||||
# All configuration for this plugin is in section '[restproxy]'
|
# All configuration for this plugin is in section '[restproxy]'
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
# sql_max_pool_size = 5
|
# sql_max_pool_size = 5
|
||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
# sql_connection = mysql://root:pass@localhost/brcd_quantum?charset=utf8
|
# sql_connection = mysql://root:pass@localhost/brcd_quantum?charset=utf8
|
||||||
|
@ -20,6 +20,8 @@ reconnect_interval = 2
|
|||||||
# sql_max_pool_size = 5
|
# sql_max_pool_size = 5
|
||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
|
|
||||||
[HYPERV]
|
[HYPERV]
|
||||||
# (StrOpt) Type of network to allocate for tenant networks. The
|
# (StrOpt) Type of network to allocate for tenant networks. The
|
||||||
|
@ -42,6 +42,8 @@ reconnect_interval = 2
|
|||||||
# sql_max_pool_size = 5
|
# sql_max_pool_size = 5
|
||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
|
|
||||||
[LINUX_BRIDGE]
|
[LINUX_BRIDGE]
|
||||||
# (ListOpt) Comma-separated list of
|
# (ListOpt) Comma-separated list of
|
||||||
|
@ -22,6 +22,8 @@ reconnect_interval = 2
|
|||||||
# sql_max_pool_size = 5
|
# sql_max_pool_size = 5
|
||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
|
|
||||||
[META]
|
[META]
|
||||||
## This is list of flavor:quantum_plugins
|
## This is list of flavor:quantum_plugins
|
||||||
|
@ -20,6 +20,8 @@ reconnect_interval = 2
|
|||||||
# sql_max_pool_size = 5
|
# sql_max_pool_size = 5
|
||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
|
|
||||||
[MIDONET]
|
[MIDONET]
|
||||||
# MidoNet API server URI
|
# MidoNet API server URI
|
||||||
|
@ -22,6 +22,8 @@ reconnect_interval = 2
|
|||||||
# sql_max_pool_size = 5
|
# sql_max_pool_size = 5
|
||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
|
|
||||||
[ovs]
|
[ovs]
|
||||||
# Do not change this parameter unless you have a good reason to.
|
# Do not change this parameter unless you have a good reason to.
|
||||||
|
@ -90,6 +90,9 @@ sql_connection = sqlite://
|
|||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
|
|
||||||
|
|
||||||
[quotas]
|
[quotas]
|
||||||
# number of network gateways allowed per tenant, -1 means unlimited
|
# number of network gateways allowed per tenant, -1 means unlimited
|
||||||
|
@ -20,6 +20,8 @@ reconnect_interval = 2
|
|||||||
# sql_max_pool_size = 5
|
# sql_max_pool_size = 5
|
||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
|
|
||||||
[ovs]
|
[ovs]
|
||||||
# (StrOpt) Type of network to allocate for tenant networks. The
|
# (StrOpt) Type of network to allocate for tenant networks. The
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
# sql_max_pool_size = 5
|
# sql_max_pool_size = 5
|
||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
|
|
||||||
[PLUMgridNOS]
|
[PLUMgridNOS]
|
||||||
# This line should be pointing to the NOS server,
|
# This line should be pointing to the NOS server,
|
||||||
|
@ -12,6 +12,8 @@ sql_connection = sqlite://
|
|||||||
# sql_max_pool_size = 5
|
# sql_max_pool_size = 5
|
||||||
# Timeout in seconds before idle sql connections are reaped
|
# Timeout in seconds before idle sql connections are reaped
|
||||||
# sql_idle_timeout = 3600
|
# sql_idle_timeout = 3600
|
||||||
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
||||||
|
# sqlalchemy_pool_size = 5
|
||||||
|
|
||||||
[ovs]
|
[ovs]
|
||||||
integration_bridge = br-int
|
integration_bridge = br-int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user