Commit efd39069 authored by Valery Sizov's avatar Valery Sizov

Merge branch 'es_fix_worker' into 'master'

Minor refactoring of elastic indexer worker



See merge request !210
parents 7c7cb307 95ce526a
......@@ -7,8 +7,6 @@ class ElasticIndexerWorker
port: Gitlab.config.elasticsearch.port)
def perform(operation, klass, record_id, options = {})
klass = "Snippet" if klass =~ /Snippet$/
cklass = klass.constantize
case operation.to_s
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment