From fff4ff426126ff37b39b588ed05936b5be77f849 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 9 Aug 2023 20:04:57 +0200 Subject: [PATCH] More strict retries. --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.c b/activitypub.c index 6c8c484..d6110cc 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1851,7 +1851,7 @@ void process_queue_item(xs_dict *q_item) retries++; /* error sending; requeue? */ - if (status == 404 || status == 410) + if (status == 404 || status == 410 || status < 0) /* explicit error: discard */ srv_log(xs_fmt("output message: fatal error %s %d", inbox, status)); else