]> Sergey Matveev's repositories - public-inbox.git/commit
lei_mail_sync: don't hold statement handle into callback
authorEric Wong <e@80x24.org>
Fri, 17 Sep 2021 01:56:40 +0000 (20:56 -0500)
committerEric Wong <e@80x24.org>
Fri, 17 Sep 2021 04:41:04 +0000 (04:41 +0000)
commit1d874aad484aaa81a40e51b551924b441d560b06
tree54530b6b7cef9b22b4407630b0664f4a5f021080
parent1323196d1df67db5cb47a171a60236049c1e5ce5
lei_mail_sync: don't hold statement handle into callback

This can cause readers and writers to conflict since the
implicit transaction from SELECT in a LeiRefreshMailSync
worker would block the LeiStore process.
lib/PublicInbox/LeiMailSync.pm