diff options
| author | 2024-01-08 08:10:57 +0100 | |
|---|---|---|
| committer | 2024-01-08 08:10:57 +0100 | |
| commit | 93e7138e53628a76bed9583c5eb45ccf17b97e21 (patch) | |
| tree | fe2b503c3843ec0c836b01821b0210e654a4de34 /data.c | |
| parent | Merge pull request 'Added compatibility with NetBSD' (#99) from draga79/snac2... (diff) | |
| download | snac2-93e7138e53628a76bed9583c5eb45ccf17b97e21.tar.gz snac2-93e7138e53628a76bed9583c5eb45ccf17b97e21.tar.xz snac2-93e7138e53628a76bed9583c5eb45ccf17b97e21.zip | |
Rewritten part of the job threads to be leaner and faster.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2168,7 +2168,7 @@ void enqueue_output_raw(const char *keyid, const char *seckey, | |||
| 2168 | qmsg = xs_dict_append(qmsg, "seckey", seckey); | 2168 | qmsg = xs_dict_append(qmsg, "seckey", seckey); |
| 2169 | 2169 | ||
| 2170 | /* if it's to be sent right now, bypass the disk queue and post the job */ | 2170 | /* if it's to be sent right now, bypass the disk queue and post the job */ |
| 2171 | if (retries == 0 && job_fifo_ready()) | 2171 | if (retries == 0) |
| 2172 | job_post(qmsg, 0); | 2172 | job_post(qmsg, 0); |
| 2173 | else { | 2173 | else { |
| 2174 | qmsg = _enqueue_put(fn, qmsg); | 2174 | qmsg = _enqueue_put(fn, qmsg); |