Mark the ElasticSearch workers with the throttled urgency
We want the ElasticSearch jobs to run on separate sidekiq shards after we switch over the the queue selectors in #27 (closed).
For that, we've added a :throttled
urgency. #208 (closed)
We need to add it to the elasticsearch workers. Those are throttled to not have too many jobs running at the same time and overload our ES cluster when indexing a new batch of projects.
The workers that need to get the throttled attribute:
ee/app/workers/elastic_index_bulk_cron_worker.rb
ee/app/workers/elastic_indexer_worker.rb
ee/app/workers/elastic_commit_indexer_worker.rb
Edited by Bob Van Landuyt