From 81e82a7fc391059a799f7799d3ae579cc8462ee2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 25 Oct 2023 00:29:34 +0000 Subject: [PATCH] repo_snapshot: psgi_yield Another drop-in replacement for psgi_return. --- lib/PublicInbox/RepoSnapshot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/RepoSnapshot.pm b/lib/PublicInbox/RepoSnapshot.pm index ebcbbd815..6b7441b00 100644 --- a/lib/PublicInbox/RepoSnapshot.pm +++ b/lib/PublicInbox/RepoSnapshot.pm @@ -58,7 +58,7 @@ sub ver_check { # git->check_async callback "--git-dir=$ctx->{git}->{git_dir}", 'archive', "--prefix=$ctx->{snap_pfx}/", "--format=$ctx->{snap_fmt}", $treeish]); - $qsp->psgi_return($ctx->{env}, undef, \&archive_hdr, $ctx); + $qsp->psgi_yield($ctx->{env}, undef, \&archive_hdr, $ctx); } } -- 2.47.2