Limit taskqueue to 1 consumer #39633
This commit is contained in:
parent
e15bbea0f7
commit
7f98d34258
37
staging.cfg
37
staging.cfg
|
@ -115,61 +115,68 @@ zope-conf-additional =
|
|||
[instance2]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance2}:${ports:instance2}
|
||||
zope-conf-additional =
|
||||
%import collective.taskqueue
|
||||
<taskqueue>
|
||||
type redis
|
||||
host ${hosts:redis}
|
||||
port ${ports:redis}
|
||||
</taskqueue>
|
||||
|
||||
[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}
|
||||
|
|
Reference in New Issue