Change in ovirt-engine[master]: packaging: Make DB connection pool configurable

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Oct 2 13:06:17 UTC 2012


Juan Hernandez has submitted this change and it was merged.

Change subject: packaging: Make DB connection pool configurable
......................................................................


packaging: Make DB connection pool configurable

Currently the only way to change the database connections pool size is
to modify the /usr/share/ovirt-engine/service/engine-service.xml.in
file. But that file is not marked as configuration so changes are lost
when the package containing it is updated. This patch introduces two new
optional parameters in /etc/sysconfig/ovirt-engine to control the size
of the pool:

  ENGINE_DB_MIN_CONNECTIONS=1
  ENGINE_DB_MAX_CONNECTIONS=100

The default values are 1 and 100 as shown above.

Bug-Url: https://bugzilla.redhat.com/856273
Change-Id: I607e74df406128c7fd9b2e1496b3efa08e11fbac
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/conf/engine.conf.defaults
M packaging/fedora/engine-service.xml.in
2 files changed, 8 insertions(+), 2 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/8216
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I607e74df406128c7fd9b2e1496b3efa08e11fbac
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list