Our graceful shutdown doesn't time out clients.
use Fcntl qw(SEEK_SET);
use PublicInbox::Config;
use PublicInbox::Syscall qw(EPOLLIN);
use Fcntl qw(SEEK_SET);
use PublicInbox::Config;
use PublicInbox::Syscall qw(EPOLLIN);
-use PublicInbox::DS qw(now dwaitpid);
+use PublicInbox::DS qw(dwaitpid);
use PublicInbox::Spawn qw(spawn popen_rd);
use PublicInbox::Lock;
use PublicInbox::Eml;
use PublicInbox::Spawn qw(spawn popen_rd);
use PublicInbox::Lock;
use PublicInbox::Eml;
$quit->();
}
return 1 if defined($path);
$quit->();
}
return 1 if defined($path);
my $n = 0;
for my $s (values %$dmap) {
$s->can('busy') or next;
my $n = 0;
for my $s (values %$dmap) {
$s->can('busy') or next;
++$n;
} else {
$s->close;
++$n;
} else {
$s->close;