Do not retry failed requests
We believe that the indexing process sometimes uses too much memory because it's trying to retry failures, actually we shouldn't be retrying any failures in gitlab-elasticsearch-indexer
. Sidekiq itself should already be capable of doing retries and retrying in the indexer appears to be causing infinite memory growth.
Edited by Dmitry Gruzd