diff options
author | Eric Wong <e@80x24.org> | 2021-01-03 11:24:51 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-03 18:24:09 +0000 |
commit | 8ee251fcd420533c7b69f40c18f3536bcc30abaf (patch) | |
tree | 5de03f71a81452330b8fc0e308fe8bec77e2946c /lib/PublicInbox/SearchIdxShard.pm | |
parent | b156cb4ef176b41131154a6d7632aed92b143fa0 (diff) | |
download | public-inbox-8ee251fcd420533c7b69f40c18f3536bcc30abaf.tar.gz |
The daemon needs to flush stdout before disconnecting or killing clients, otherwise they may reread empty data on redirected outputs. We also don't want to unbuffer stdout too early in case we have lots of small chunks of data to output. The received ($self->{2}) will always have autoflush, matching normal STDERR behavior.
Diffstat (limited to 'lib/PublicInbox/SearchIdxShard.pm')
0 files changed, 0 insertions, 0 deletions