diff options
author | default <nobody@localhost> | 2023-02-11 06:28:36 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-02-11 06:28:36 +0100 |
commit | 28d1da0a81f0d07d5960792eddce37b22dd43da7 (patch) | |
tree | d04461b1583863ff6c9fd84202dca50c70d1dc70 /data.c | |
parent | f325b567e3c7818de149fea26c7f74ee547a679c (diff) |
Don't fail silently if the job fifo is not ready.
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1407,7 +1407,7 @@ void enqueue_output_raw(const char *keyid, const char *seckey, qmsg = xs_dict_append(qmsg, "seckey", seckey); /* if it's to be sent right now, bypass the disk queue and post the job */ - if (retries == 0) + if (retries == 0 && job_fifo_ready()) job_post(qmsg); else { qmsg = _enqueue_put(fn, qmsg); |