Skip to content

Commit

Permalink
Temp remove low_traffic_jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Mar 24, 2024
1 parent 6f297b5 commit e0446c1
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions modules/changeprop/templates/jobqueue.config.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,24 @@ spec: &spec
keepAlive: true
<%- end %>
# Now special rule to cover all the low-traffic jobs
low_traffic_jobs:
concurrency: <%= @low_traffic_concurrency %>
topics:
- '/^mediawiki\.job\..*/'
# Don't execute anything that's covered by different rules
exclude_topics:
# low_traffic_jobs:
# concurrency: <%= @low_traffic_concurrency %>
# topics:
# - '/^mediawiki\.job\..*/'
# # Don't execute anything that's covered by different rules
# exclude_topics:
<%- @high_traffic_jobs_config.keys.each do |job| %>
- 'mediawiki.job.<%= job %>'
# - 'mediawiki.job.<%= job %>'
<%- end %>
- 'mediawiki.job.ThumbnailRender'
exec:
method: post
uri: '<%= @jobrunner_host %>/rpc/RunSingleJob.php'
headers:
content-type: 'application/json'
body: '{{globals.message}}'
agentOptions:
keepAlive: true
# - 'mediawiki.job.ThumbnailRender'
# exec:
# method: post
# uri: '<%= @jobrunner_host %>/rpc/RunSingleJob.php'
# headers:
# content-type: 'application/json'
# body: '{{globals.message}}'
# agentOptions:
# keepAlive: true

# Number of worker processes to spawn.
# Set to 0 to run everything in a single process without clustering.
Expand Down

0 comments on commit e0446c1

Please sign in to comment.