]> Sergey Matveev's repositories - public-inbox.git/commit
extindex: various --watch signal handling fixes
authorEric Wong <e@80x24.org>
Sat, 26 Dec 2020 10:16:21 +0000 (10:16 +0000)
committerEric Wong <e@80x24.org>
Sun, 27 Dec 2020 09:30:33 +0000 (09:30 +0000)
commitae8df17135014a64a9f1def786f66c9c16b05fcf
treefdf9365f4f7c3d67b7cdd02bba7bc718e1a45d70
parent1d96509a3f59c38394d2f3ac4323dc54c74dc202
extindex: various --watch signal handling fixes

We need to clobber the SIGUSR1 resync queue on SIGHUP to
invalidate old inbox objects.  Furthermore, the lengthy
initial scan needs to ignore signals intended for the
event loop to avoid unexpected behavior.  Finally, add
some progress output to inform users on the terminal
to inform users' of progress.
lib/PublicInbox/ExtSearchIdx.pm