unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] spawn: send_cmd: respect retries arg
@ 2024-11-25  7:47 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2024-11-25  7:47 UTC (permalink / raw)
  To: meta

Unfortunately, this is hard to test but obvious the
5th arg needs to be used as it is in the pure Perl
and XS implementation.
---
 lib/PublicInbox/Spawn.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/PublicInbox/Spawn.pm b/lib/PublicInbox/Spawn.pm
index e9e81e88..19bedb10 100644
--- a/lib/PublicInbox/Spawn.pm
+++ b/lib/PublicInbox/Spawn.pm
@@ -332,7 +332,7 @@ EOM
 		$ENV{PERL_INLINE_DIRECTORY} = $inline_dir;
 		%RLIMITS = rlimit_map();
 		*send_cmd4 = sub ($$$$;$) {
-			send_cmd4_($_[0], $_[1], $_[2], $_[3], 50);
+			send_cmd4_($_[0], $_[1], $_[2], $_[3], $_[4] // 50);
 		}
 	} else {
 		require PublicInbox::SpawnPP;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-25  7:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-25  7:47 [PATCH] spawn: send_cmd: respect retries arg Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).