]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/DS.pm
DS: handle EINTR in IO::Poll path, too
[public-inbox.git] / lib / PublicInbox / DS.pm
index ea09fc96ed6cc9f38af0d629c2d358d0b3ef8ec1..5dd1bb7cbf68637420dbca472cc1107c8de0faaa 100644 (file)
@@ -386,7 +386,7 @@ sub PollEventLoop {
         }
 
         my $count = IO::Poll::_poll($timeout, @poll);
-        unless ($count) {
+        unless ($count >= 0) {
             return unless PostEventLoop();
             next;
         }