summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-04-22 07:23:27 +0200
committerdefault <nobody@localhost>2024-04-22 07:23:27 +0200
commit9cfce7a4bdbe934524c8d5d6ed4485f78c879e8f (patch)
tree570aa849fe3b2f6da4532e285feae62276b7274a /activitypub.c
parentebf6a4bd8e97e434d1502ddead4690aca3dd6d33 (diff)
Deleted useless recalculation of queue_retry_max.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index c05e3f3..0ed764e 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -2516,8 +2516,6 @@ void process_queue_item(xs_dict *q_item)
if (r == 0) {
/* transient error? retry */
- int queue_retry_max = xs_number_get(xs_dict_get(srv_config, "queue_retry_max"));
-
if (retries > queue_retry_max)
srv_log(xs_fmt("shared input giving up"));
else {