Skip to content

Only expire tag cache once per push

Stan Hu requested to merge sh-only-flush-tags-once-per-push into master

Previously each tag in a push would invoke the Gitaly FindAllTags RPC since the tag cache would be invalidated with every tag.

We can eliminate those extraneous calls by expiring the tag cache once in PostReceive and taking advantage of the cached tags.

Edited by Stan Hu

Merge request reports

Loading