]> Sergey Matveev's repositories - public-inbox.git/commit
watch: don't burn CPU on IDLE failures
authorEric Wong <e@yhbt.net>
Sat, 4 Jul 2020 21:33:13 +0000 (21:33 +0000)
committerEric Wong <e@yhbt.net>
Sun, 5 Jul 2020 21:45:19 +0000 (21:45 +0000)
commitd75cbb9b69a780b6bbc37e243ada35dfd0c47552
tree12fb44285885b52a32772e22a75f2e04fd51541d
parent2d0438df824317049e29837c6d187b54ea89b515
watch: don't burn CPU on IDLE failures

Network connections fail and need to be detected sooner rather
than later during IDLE to avoid backtrace floods.  In case the
IDLE process dies completely, don't respawn right away, either,
to avoid entering a respawn loop.

There's also a typo fix :P
lib/PublicInbox/WatchMaildir.pm
t/imapd.t