From cd73e06277ae9286e9a823b591ca5187ce35cdca Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 22 Feb 2023 17:25:52 +0000 Subject: sendmsg: prefix sleep message with `#' It's an informative message that's harmless, so hopefully the `#' prefix puts the users mind at ease. (I saw it on an `lei import' against an IMAP source) --- lib/PublicInbox/Syscall.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/Syscall.pm') diff --git a/lib/PublicInbox/Syscall.pm b/lib/PublicInbox/Syscall.pm index 530ee93b..841a2106 100644 --- a/lib/PublicInbox/Syscall.pm +++ b/lib/PublicInbox/Syscall.pm @@ -427,7 +427,7 @@ no warnings 'once'; } while ($sent < 0 && ($!{ENOBUFS} || $!{ENOMEM} || $!{ETOOMANYREFS}) && (++$try < 50) && - warn "sleeping on sendmsg: $! (#$try)\n" && + warn "# sleeping on sendmsg: $! (#$try)\n" && select(undef, undef, undef, 0.1) == 0); $sent >= 0 ? $sent : undef; }; -- cgit v1.2.3-24-ge0c7