Commit ffcab7e1 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Enqueue wiki changes from post_receive

parent ab9efefd
......@@ -19,6 +19,9 @@ class PostReceive
if post_received.wiki?
update_wiki_es_indexes(post_received)
# Triggers repository update on secondary nodes when Geo is enabled
Gitlab::Geo.notify_wiki_update(post_received.project) if Gitlab::Geo.enabled?
elsif post_received.regular_project?
# Triggers repository update on secondary nodes when Geo is enabled
Gitlab::Geo.notify_project_update(post_received.project) if Gitlab::Geo.enabled?
......
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