diff options
author | default <nobody@localhost> | 2022-11-18 08:04:20 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-11-18 08:04:20 +0100 |
commit | e6bf647b98ff5341c86d4f1172e3c6607bccc5ff (patch) | |
tree | 385d308907f19b2771120f75dbe9d2d149f46cf7 | |
parent | aa371bd0c95cd1940995fbc13ccb4f5f7a50428f (diff) |
Always log process_queue sending.
-rw-r--r-- | activitypub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index 7059471..f962e69 100644 --- a/activitypub.c +++ b/activitypub.c @@ -964,6 +964,8 @@ void process_queue(snac *snac) /* deliver */ status = send_to_inbox(snac, inbox, msg, &payload, &p_size); + snac_log(snac, xs_fmt("process_queue sent to inbox %s %d", inbox, status)); + if (!valid_status(status)) { /* error sending; requeue? */ if (retries > queue_retry_max) @@ -974,8 +976,6 @@ void process_queue(snac *snac) snac_log(snac, xs_fmt("process_queue requeue %s %d", inbox, retries + 1)); } } - else - snac_log(snac, xs_fmt("process_queue sent to inbox %s %d", inbox, status)); } else if (strcmp(type, "input") == 0) { |