Deleted useless recalculation of queue_retry_max.

This commit is contained in:
default 2024-04-22 07:23:27 +02:00
parent ebf6a4bd8e
commit 9cfce7a4bd

View file

@ -2516,8 +2516,6 @@ void process_queue_item(xs_dict *q_item)
if (r == 0) { if (r == 0) {
/* transient error? retry */ /* transient error? retry */
int queue_retry_max = xs_number_get(xs_dict_get(srv_config, "queue_retry_max"));
if (retries > queue_retry_max) if (retries > queue_retry_max)
srv_log(xs_fmt("shared input giving up")); srv_log(xs_fmt("shared input giving up"));
else { else {