]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei_overview: drop unnecessary autoflush call
authorEric Wong <e@80x24.org>
Sat, 6 Feb 2021 12:18:28 +0000 (12:18 +0000)
committerEric Wong <e@80x24.org>
Sun, 7 Feb 2021 03:34:32 +0000 (03:34 +0000)
This was actually causing xt/lei-sigpipe.t failures,
presumably due to reused/recycled workers with many
externals.

lib/PublicInbox/LeiOverview.pm

index d3df4faa72c2eeea1c8b3648a6f1a6bc1bac416f..24e4c190c8fbd6964f708fafd23c76e17671c2f1 100644 (file)
@@ -182,7 +182,6 @@ sub _json_pretty {
 sub ovv_each_smsg_cb { # runs in wq worker usually
        my ($self, $lei, $ibxish) = @_;
        my ($json, $dedupe);
-       $lei->{1}->autoflush(1);
        if (my $pkg = $self->{json}) {
                $json = $pkg->new;
                $json->utf8->canonical;