More threads/endpoints for the badges backend.
This commit is contained in:
parent
208d22978b
commit
852e41768c
4 changed files with 10 additions and 4 deletions
|
@ -7,7 +7,8 @@ freezes: false
|
|||
# for systems that do not match the above - specify the same parameter in
|
||||
# the host_vars/$hostname file
|
||||
|
||||
tcp_ports: [ 3000, 3001, 3002, 3003 ]
|
||||
tcp_ports: [ 3000, 3001, 3002, 3003,
|
||||
3004, 3005, 3006, 3007 ]
|
||||
|
||||
fas_client_groups: sysadmin-noc,sysadmin-badges
|
||||
|
||||
|
|
|
@ -7,7 +7,8 @@ num_cpus: 2
|
|||
# for systems that do not match the above - specify the same parameter in
|
||||
# the host_vars/$hostname file
|
||||
|
||||
tcp_ports: [ 3000, 3001, 3002, 3003 ]
|
||||
tcp_ports: [ 3000, 3001, 3002, 3003,
|
||||
3004, 3005, 3006, 3007 ]
|
||||
|
||||
fas_client_groups: sysadmin-noc,sysadmin-badges
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ config = {
|
|||
# This sets up four threads to handle incoming messages. At the time of
|
||||
# this commit, all of our fedmsg daemons are running in single-threaded
|
||||
# mode. If we turn it on globally, we should remove this setting.
|
||||
"moksha.workers_per_consumer": 4,
|
||||
"moksha.threadpool_size": 10,
|
||||
"moksha.workers_per_consumer": 8,
|
||||
"moksha.threadpool_size": 20,
|
||||
|
||||
# This tells the consumer where to look for its BadgeRule definitions. It
|
||||
# may be a relative or an absolute path on the file system.
|
||||
|
|
|
@ -11,6 +11,10 @@ config = dict(
|
|||
"tcp://badges-backend01.%s:3001" % suffix,
|
||||
"tcp://badges-backend01.%s:3002" % suffix,
|
||||
"tcp://badges-backend01.%s:3003" % suffix,
|
||||
"tcp://badges-backend01.%s:3004" % suffix,
|
||||
"tcp://badges-backend01.%s:3005" % suffix,
|
||||
"tcp://badges-backend01.%s:3006" % suffix,
|
||||
"tcp://badges-backend01.%s:3007" % suffix,
|
||||
],
|
||||
|
||||
"tahrir.badges-web01": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue