From a9667261067b32639262b5ef8e71923afc4889fb Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Tue, 25 Jul 2017 14:10:27 +0100 Subject: [PATCH] Add options.workers to the template This change draws on the charms.openstack and layer-openstack-api changes to provide the ability to configure the number of workers that the designate charm starts. Change-Id: I8dec833d5e297f328a6503410c8f6d5aff1c85bd Depends-On: I3cea350e536306655f5f109ec67ae7f0fba35fda Depends-On: Id4145ffaa622727523003015d7012ece2f0eae4f Related-Bug: #1677543 --- src/templates/mitaka/designate.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/mitaka/designate.conf b/src/templates/mitaka/designate.conf index 0585385..8f8a337 100644 --- a/src/templates/mitaka/designate.conf +++ b/src/templates/mitaka/designate.conf @@ -52,7 +52,7 @@ notification_topics = notifications_designate #----------------------- [service:central] # Number of central worker processes to spawn -#workers = None +workers = {{ options.workers }} # Number of central greenthreads to spawn #threads = 1000