From 83f22ed3e616bf1db1969f3be3d86989820d28ff Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Tue, 25 Jul 2017 13:33:45 +0100 Subject: [PATCH] Add worker-multiplier config option for reactive charms This change add a 'worker-multiplier' option to layer-openstack-api which is used by a concomitant commit in the charms.openstack library. The usage is identical to non-reactive charms as described in the charmhelpers library. Change-Id: Id4145ffaa622727523003015d7012ece2f0eae4f --- config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config.yaml b/config.yaml index aa7e562..cd5b741 100644 --- a/config.yaml +++ b/config.yaml @@ -39,6 +39,15 @@ options: default: RegionOne type: string description: OpenStack Region + worker-multiplier: + type: float + default: + description: | + The CPU core multiplier to use when configuring worker processes. By + default, the number of workers for each daemon is set to twice the number + of CPU cores a service unit has. When deployed in a LXD container, this + default value will be capped to 4 workers unless this configuration + option is set. haproxy-server-timeout: type: int default: 30000