summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index 2b87ec7..bb964a9 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -983,6 +983,10 @@ void process_queue(snac *snac)
983 983
984 if (!valid_status(status)) { 984 if (!valid_status(status)) {
985 /* error sending; requeue? */ 985 /* error sending; requeue? */
986 if (status == 404 || status == 410)
987 /* explicit error: discard */
988 snac_log(snac, xs_fmt("process_queue error %s %d", inbox, status));
989 else
986 if (retries > queue_retry_max) 990 if (retries > queue_retry_max)
987 snac_log(snac, xs_fmt("process_queue giving up %s %d", inbox, status)); 991 snac_log(snac, xs_fmt("process_queue giving up %s %d", inbox, status));
988 else { 992 else {