]> Sergey Matveev's repositories - public-inbox.git/commit
lei: do not blindly commit to lei/store on close
authorEric Wong <e@80x24.org>
Fri, 26 Mar 2021 09:51:24 +0000 (09:51 +0000)
committerEric Wong <e@80x24.org>
Fri, 26 Mar 2021 21:51:30 +0000 (21:51 +0000)
commitd69102cfff67e4308c560c5e8daa8f8a486ff24d
treed0f930ae641a5ff3a79ed384a961149748ff6429
parent4aaf4890790f32e7bb1a091cbb7fe40cb0abe90e
lei: do not blindly commit to lei/store on close

It may hide errors/bugs, instead do it explicitly for each
worker that writes to it.  For lei_xsearch, it will be better
to close before spawning the MUA for future use since we may
need it again once the user starts changing keywords.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiXSearch.pm