diff options
author | Eric Wong <e@80x24.org> | 2021-10-14 13:16:06 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-10-15 02:23:25 +0000 |
commit | f64fdbc7cc19a34f471abaeada9195597bf7a282 (patch) | |
tree | ddfdf0a3a99ba5d66a96bbea3a2a59fff12c29b2 /lib/PublicInbox | |
parent | b04257f82cb4890a022a4d18ff15bcde939ba2ae (diff) | |
download | public-inbox-f64fdbc7cc19a34f471abaeada9195597bf7a282.tar.gz |
We want these long-lived processes to die naturally when their parent dies. Hopefully this improves graceful shutdown for -extindex because I'm interrupting a lot of reindexing...
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/Git.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Git.pm b/lib/PublicInbox/Git.pm index 37342d7d..e634ca55 100644 --- a/lib/PublicInbox/Git.pm +++ b/lib/PublicInbox/Git.pm @@ -114,7 +114,7 @@ sub _bidi_pipe { return; } pipe(my ($out_r, $out_w)) or $self->fail("pipe failed: $!"); - my $rdr = { 0 => $out_r }; + my $rdr = { 0 => $out_r, pgid => 0 }; my $gd = $self->{git_dir}; if ($gd =~ s!/([^/]+/[^/]+)\z!/!) { $rdr->{-C} = $gd; |