]> Sergey Matveev's repositories - public-inbox.git/commit
imap: IDLE: avoid extraneous wakeups, keep-alive
authorEric Wong <e@yhbt.net>
Wed, 10 Jun 2020 07:04:58 +0000 (07:04 +0000)
committerEric Wong <e@yhbt.net>
Sat, 13 Jun 2020 07:55:45 +0000 (07:55 +0000)
commit648d1bf21a43b686bdc493bcffecea73c5610d1f
tree655cc552ca45f351cd5d32ec37ec319da645bea7
parente2d88cc7ee7f71d014a2be1a35e06dcb7fc77fd9
imap: IDLE: avoid extraneous wakeups, keep-alive

We should not waste memory for IDLE unless it's used on the most
recent inbox slice.  We also need to keep the IDLE connection
alive regardless of $PublicInbox::DS::EXPTIME.
lib/PublicInbox/IMAP.pm