]> Sergey Matveev's repositories - public-inbox.git/commit
lei_to_mail: avoid SEGV on worker exit via SIGTERM
authorEric Wong <e@80x24.org>
Sat, 30 Oct 2021 08:11:43 +0000 (08:11 +0000)
committerEric Wong <e@80x24.org>
Sat, 30 Oct 2021 18:34:34 +0000 (18:34 +0000)
commit258365e6cd56f9039b4de7723e4950563a163c8b
tree6e42ef964f792375a78116afcb7aaea8242b8601
parent8fbb1e5d9430b9403679c5701e109d43ad979f3f
lei_to_mail: avoid SEGV on worker exit via SIGTERM

->DESTROY ordering via "exit()" calls is tricky, and dedupe
checks were causing problems.

AFAIK, this only affects users who manually enable WAL on
lei/store/ei*/over.sqlite3.  Fortunately, there is no data
corruption as a result even though "read-only" WAL requires
write permissions.
lib/PublicInbox/LeiToMail.pm