]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/InboxIdle.pm
imap: improve IDLE handling at graceful shutdown
[public-inbox.git] / lib / PublicInbox / InboxIdle.pm
index d60d4f239c381e2d8fd07d0247a016da78e30269..d0bb43c58486a5900348a74031cb44f95820bf74 100644 (file)
@@ -79,4 +79,8 @@ sub event_step {
        warn "$self->{inot}->poll err: $@\n" if $@;
 }
 
+# for graceful shutdown in PublicInbox::Daemon,
+# just ensure the FD gets closed ASAP and subscribers
+sub busy { 0 }
+
 1;