Increased log level for enqueue_request_replies().

This commit is contained in:
default 2023-06-15 09:35:03 +02:00
parent 14b2f69768
commit 09e0d99251

8
data.c
View file

@ -1977,22 +1977,22 @@ void enqueue_request_replies(snac *user, const char *id)
if (type && msg && strcmp(type, "request_replies") == 0 && strcmp(msg, id) == 0) { if (type && msg && strcmp(type, "request_replies") == 0 && strcmp(msg, id) == 0) {
/* don't requeue */ /* don't requeue */
snac_debug(user, 0, xs_fmt("enqueue_request_replies already here %s", id)); snac_debug(user, 1, xs_fmt("enqueue_request_replies already here %s", id));
return; return;
} }
} }
} }
/* not there; enqueue the request with a small delay */ /* not there; enqueue the request with a small delay */
xs *qmsg = _new_qmsg("request_replies", id, 0); xs *qmsg = _new_qmsg("request_replies", id, 0);
xs *ntid = tid(10); xs *ntid = tid(10);
xs *fn = xs_fmt("%s/queue/%s.json", user->basedir, ntid); xs *fn = xs_fmt("%s/queue/%s.json", user->basedir, ntid);
qmsg = xs_dict_set(qmsg, "ntid", ntid); qmsg = xs_dict_set(qmsg, "ntid", ntid);
qmsg = _enqueue_put(fn, qmsg); qmsg = _enqueue_put(fn, qmsg);
snac_debug(user, 0, xs_fmt("enqueue_request_replies %s", id)); snac_debug(user, 1, xs_fmt("enqueue_request_replies %s", id));
} }