about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-11-28 05:32:19 +0000
committerEric Wong <e@80x24.org>2022-11-28 23:38:58 +0000
commita0afd11630d7f0130f04f834294224aa8e613f6b (patch)
treecc80ad7f5b213044b5bbf42443b285a1a949391a /lib/PublicInbox
parent7d943be59ab5f560314d4a6bbc17f425c25931bd (diff)
downloadpublic-inbox-a0afd11630d7f0130f04f834294224aa8e613f6b.tar.gz
There's likely a circular reference somewhere which was
preventing v1_done from running early.  In any case, this allows
v1_done to run in parallel with the pack-refs process since
there's no ordering dependency between ref-packing and v1_done.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/LeiMirror.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiMirror.pm b/lib/PublicInbox/LeiMirror.pm
index 2812b696..29bfcabf 100644
--- a/lib/PublicInbox/LeiMirror.pm
+++ b/lib/PublicInbox/LeiMirror.pm
@@ -324,6 +324,7 @@ sub fgrp_update {
 sub pack_dst { # packs lightweight satellite repos
         my ($fgrp) = @_;
         pack_refs($fgrp, $fgrp->{cur_dst});
+        delete($fgrp->{-fini}) // die 'BUG: no {-fini}'; # call v1_done
 }
 
 sub pack_refs {