Skip to content
Snippets Groups Projects

Update epic cache counts on project/group deletion

Merged Jan Provaznik requested to merge jp-cached-issue-weight-worker2 into master
All threads resolved!
Compare and Show latest version
4 files
+ 8
8
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 1
1
@@ -770,7 +770,7 @@ def parent_epic_ids_in_ancestor_groups
@@ -770,7 +770,7 @@ def parent_epic_ids_in_ancestor_groups
ids += ::Epic.id_in(batch.select(:parent_id)).where.not(group_id: id).limit(EPIC_BATCH_SIZE).pluck(:id)
ids += ::Epic.id_in(batch.select(:parent_id)).where.not(group_id: id).limit(EPIC_BATCH_SIZE).pluck(:id)
end
end
ids
ids.to_a
end
end
private
private
Loading