]> Sergey Matveev's repositories - public-inbox.git/commit
script/lei: handle SIGTSTP and SIGCONT
authorEric Wong <e@80x24.org>
Tue, 21 Sep 2021 09:29:44 +0000 (09:29 +0000)
committerEric Wong <e@80x24.org>
Tue, 21 Sep 2021 19:18:36 +0000 (19:18 +0000)
commit5c7d3f916da9a9c93419282e943a7d45c53b9c86
tree6a32a05d58629fa19dae5a160144037f6a0500b9
parent1411a6e0ca36d6eda89a2f2f4e937fec3cad2030
script/lei: handle SIGTSTP and SIGCONT

Sometimes it's useful to pause an expensive query or
refresh-mail-sync to do something else.  While lei-daemon and
lei/store can't be paused since they're shared across clients,
per-invocation WQ workers can be paused safely using the
unblockable SIGSTOP.

While we're at it, drop the ETOOMANYREFS hint since it
hasn't been a problem since we drastically reduced FD passing
early in development.
lib/PublicInbox/LEI.pm
script/lei