]> Sergey Matveev's repositories - public-inbox.git/commitdiff
ipc: drop -ipc_parent_pid field
authorEric Wong <e@80x24.org>
Sun, 10 Jan 2021 12:15:07 +0000 (12:15 +0000)
committerEric Wong <e@80x24.org>
Tue, 12 Jan 2021 03:51:42 +0000 (03:51 +0000)
It is not used anywhere.

lib/PublicInbox/IPC.pm

index 5bca362788d629b438b757d9c624ae7603d29e41..4d29532cc188ef53855ce4379ee3dc1b0d4d97fa 100644 (file)
@@ -107,7 +107,6 @@ sub ipc_worker_spawn {
        defined(my $pid = fork) or die "fork: $!";
        if ($pid == 0) {
                eval { PublicInbox::DS->Reset };
-               $self->{-ipc_parent_pid} = $parent;
                $w_req = $r_res = undef;
                $w_res->autoflush(1);
                $SIG{$_} = 'IGNORE' for (qw(TERM INT QUIT));