Skip to content

Expire branch cache for bulk creation only once

Vasilii Iakliushin requested to merge 368614_expire_bulk_branches_only_once into master

What does this MR do and why?

Contributes to #368614

Problem

We expire the branch cache after every new created branch. It's inefficient and leads to N extra Redis calls.

Solution

Expire cache once after adding all new branches.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports