]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: share FDs for identical log paths
authorEric Wong <e@80x24.org>
Mon, 1 Aug 2022 21:24:47 +0000 (21:24 +0000)
committerEric Wong <e@80x24.org>
Tue, 2 Aug 2022 19:20:14 +0000 (19:20 +0000)
commit86c6704a325c6701a1e47e04859b2c24e1e0fa65
treecae232c39967ed8eba6316bf1c3cb7b0325fb036
parent9b57ba91869f815459ff3ee4d9d7eed8d800d86a
daemon: share FDs for identical log paths

We rely on the %logs hash for SIGUSR1 log reopening.  Without this sharing,
some FDs would be hidden inside its respective {HTTP,IMAP,POP3}D
object and not reopened on USR2
lib/PublicInbox/Daemon.pm