summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index a500b03..43fbeef 100644
--- a/data.c
+++ b/data.c
@@ -1407,7 +1407,7 @@ void enqueue_output_raw(const char *keyid, const char *seckey,
1407 qmsg = xs_dict_append(qmsg, "seckey", seckey); 1407 qmsg = xs_dict_append(qmsg, "seckey", seckey);
1408 1408
1409 /* if it's to be sent right now, bypass the disk queue and post the job */ 1409 /* if it's to be sent right now, bypass the disk queue and post the job */
1410 if (retries == 0) 1410 if (retries == 0 && job_fifo_ready())
1411 job_post(qmsg); 1411 job_post(qmsg);
1412 else { 1412 else {
1413 qmsg = _enqueue_put(fn, qmsg); 1413 qmsg = _enqueue_put(fn, qmsg);