]> Sergey Matveev's repositories - public-inbox.git/commitdiff
qspawn: remove unused WNOHANG import
authorEric Wong <e@80x24.org>
Sat, 14 Sep 2019 09:35:13 +0000 (09:35 +0000)
committerEric Wong <e@80x24.org>
Sat, 14 Sep 2019 09:36:09 +0000 (09:36 +0000)
We rely on DS to do waitpid with WNOHANG, now, and the non-DS
code path won't use WNOHANG.

lib/PublicInbox/Qspawn.pm

index 294bf0a4dde2a8446a3c1e14cce849e0260bda51..73fd3225f7f2e7d2f2d1579af3ed4ae9c6f3444c 100644 (file)
@@ -27,7 +27,6 @@ package PublicInbox::Qspawn;
 use strict;
 use warnings;
 use PublicInbox::Spawn qw(popen_rd);
-use POSIX qw(WNOHANG);
 require Plack::Util;
 
 # n.b.: we get EAGAIN with public-inbox-httpd, and EINTR on other PSGI servers