From 7f98d342586fea7476ee66fb3a17dd641fd542cd Mon Sep 17 00:00:00 2001 From: Nicolas Demonte Date: Fri, 21 Feb 2020 14:38:02 +0100 Subject: [PATCH] Limit taskqueue to 1 consumer #39633 --- staging.cfg | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/staging.cfg b/staging.cfg index f98566f..7dc392c 100644 --- a/staging.cfg +++ b/staging.cfg @@ -115,61 +115,68 @@ zope-conf-additional = [instance2] <= instance1 http-address = ${hosts:instance2}:${ports:instance2} +zope-conf-additional = + %import collective.taskqueue + + type redis + host ${hosts:redis} + port ${ports:redis} + [instance3] -<= instance1 +<= instance2 http-address = ${hosts:instance3}:${ports:instance3} [instance4] -<= instance1 +<= instance2 http-address = ${hosts:instance4}:${ports:instance4} [instance5] -<= instance1 +<= instance2 http-address = ${hosts:instance5}:${ports:instance5} [instance6] -<= instance1 +<= instance2 http-address = ${hosts:instance6}:${ports:instance6} [instance7] -<= instance1 +<= instance2 http-address = ${hosts:instance7}:${ports:instance7} [instance8] -<= instance1 +<= instance2 http-address = ${hosts:instance8}:${ports:instance8} [instance9] -<= instance1 +<= instance2 http-address = ${hosts:instance9}:${ports:instance9} [instance10] -<= instance1 +<= instance2 http-address = ${hosts:instance10}:${ports:instance10} [instance11] -<= instance1 +<= instance2 http-address = ${hosts:instance11}:${ports:instance11} [instance12] -<= instance1 +<= instance2 http-address = ${hosts:instance12}:${ports:instance12} [instance13] -<= instance1 +<= instance2 http-address = ${hosts:instance13}:${ports:instance13} [instance14] -<= instance1 +<= instance2 http-address = ${hosts:instance14}:${ports:instance14} [instance15] -<= instance1 +<= instance2 http-address = ${hosts:instance15}:${ports:instance15} [instance-debug] -<= instance1 +<= instance2 http-address = ${hosts:instance-debug}:${ports:instance-debug} debug-mode = on verbose-security = on @@ -183,7 +190,7 @@ environment-vars = longrequestlogger_interval 2 [worker] -<= instance1 +<= instance2 http-address = ${hosts:worker}:${ports:worker} environment-vars = ${instance1:environment-vars}