summaryrefslogtreecommitdiff
path: root/app/elastic/application_search.rb
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2016-01-07 10:54:29 +0200
committerValery Sizov <vsv2711@gmail.com>2016-01-07 10:54:29 +0200
commit8c8b8978cff03344d0331d3bfae4dfa1bedf37af (patch)
treeb30a7722aa687b00bd9b358e79efe1521b2dac37 /app/elastic/application_search.rb
parentaacc700c4aa6cfce1db1d09b9029f2e63c0f13b6 (diff)
downloadgitlab-ce-elasticsearch.tar.gz
elastic: almost all integrated exept view logicelasticsearch
Diffstat (limited to 'app/elastic/application_search.rb')
-rw-r--r--app/elastic/application_search.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/elastic/application_search.rb b/app/elastic/application_search.rb
index 32a96f11a60..44577e25963 100644
--- a/app/elastic/application_search.rb
+++ b/app/elastic/application_search.rb
@@ -46,10 +46,10 @@ module ApplicationSearch
}
}
- after_commit lambda { Resque.enqueue(Elastic::BaseIndexer, :index, self.class.to_s, self.id) }, on: :create
- after_commit lambda { Resque.enqueue(Elastic::BaseIndexer, :update, self.class.to_s, self.id) }, on: :update
- after_commit lambda { Resque.enqueue(Elastic::BaseIndexer, :delete, self.class.to_s, self.id) }, on: :destroy
- after_touch lambda { Resque.enqueue(Elastic::BaseIndexer, :update, self.class.to_s, self.id) }
+ # after_commit lambda { Resque.enqueue(Elastic::BaseIndexer, :index, self.class.to_s, self.id) }, on: :create
+ # after_commit lambda { Resque.enqueue(Elastic::BaseIndexer, :update, self.class.to_s, self.id) }, on: :update
+ # after_commit lambda { Resque.enqueue(Elastic::BaseIndexer, :delete, self.class.to_s, self.id) }, on: :destroy
+ # after_touch lambda { Resque.enqueue(Elastic::BaseIndexer, :update, self.class.to_s, self.id) }
end
module ClassMethods