Flowpack:
  ElasticSearch:
    ContentRepositoryQueueIndexer:
      enableLiveAsyncIndexing: true
      # Change size of single batch jobs via this setting
      batchSize: 500

      # Number of failed jobs accepted to switch the alias to the new index
      # -1 means, accept any number of failures
      acceptedFailedJobs: -1

  JobQueue:
    Common:
      presets:
        'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
          className: 'Flowpack\JobQueue\Beanstalkd\Queue\BeanstalkdQueue'
          executeIsolated: true
          options:
            client:
              host: '127.0.0.1'
              port: 11300

      queues:
        'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
          preset: 'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer'

        'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer.Live':
          preset: 'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer'

Flowpack:
  ElasticSearch:
    ContentRepositoryQueueIndexer:
      enableLiveAsyncIndexing: true
      # Change size of single batch jobs via this setting
      batchSize: 500

      # Number of failed jobs accepted to switch the alias to the new index
      # -1 means, accept any number of failures
      acceptedFailedJobs: 0

  JobQueue:
    Common:
      presets:
        'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
          className: 'Flowpack\JobQueue\Beanstalkd\Queue\BeanstalkdQueue'
          executeIsolated: true
          options:
            client:
              host: '127.0.0.1'
              port: 11300

      queues:
        'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
          preset: 'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer'

        'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer.Live':
          preset: 'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer'

Set excepted failures to 0
TASK: Set excepted failures to 0
