• Markus Koller's avatar
    Respect limited indexing when importing projects · 4fb08844
    Markus Koller authored
    Every time a project is imported, an `ElasticCommitIndexerWorker` was
    unconditionally enqueued. We do check `project.use_elasticsearch?`
    inside `ElasticCommitIndexerWorker#perform` so the job ends up being a
    no-op, but since it doesn't do anything we also don't need to queue it.
    4fb08844
project_import_state.rb 4.9 KB