Skip to content
Snippets Groups Projects

Draft: Only check index integrity when commit_count is > 0

Closed Terri Chu requested to merge 214601-refactor-when-blobs-are-missing into master
1 unresolved thread
4 files
+ 19
14
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -1081,7 +1081,7 @@ def predefined_push_rule
end
def should_check_index_integrity?
use_elasticsearch? && repository_exists? && !empty_repo?
use_elasticsearch? && !empty_repo? && statistics&.commit_count.to_i > 0
end
def resource_parent
Loading