diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-07-27 16:29:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-07-27 16:29:34 -0400 |
commit | ba334c00da539a78fdfca696d4b53224e9354a6a (patch) | |
tree | 606a1183e4a256a2416ef9a5691c305e38048911 /src/or/consdiffmgr.c | |
parent | ced2dd5f92c910fb827bac2e70edfc6e5922b21a (diff) | |
parent | fdd8156ea3da9548b99ab95d72e3193ae9de3feb (diff) | |
download | tor-ba334c00da539a78fdfca696d4b53224e9354a6a.tar.gz tor-ba334c00da539a78fdfca696d4b53224e9354a6a.zip |
Merge branch 'multi-priority_squashed' into maint-0.3.1
Diffstat (limited to 'src/or/consdiffmgr.c')
-rw-r--r-- | src/or/consdiffmgr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/consdiffmgr.c b/src/or/consdiffmgr.c index a3ffed10db..67a5d0b3c5 100644 --- a/src/or/consdiffmgr.c +++ b/src/or/consdiffmgr.c @@ -1616,7 +1616,8 @@ consensus_diff_queue_diff_work(consensus_cache_entry_t *diff_from, goto err; workqueue_entry_t *work; - work = cpuworker_queue_work(consensus_diff_worker_threadfn, + work = cpuworker_queue_work(WQ_PRI_LOW, + consensus_diff_worker_threadfn, consensus_diff_worker_replyfn, job); if (!work) @@ -1779,7 +1780,8 @@ consensus_queue_compression_work(const char *consensus, if (background_compression) { workqueue_entry_t *work; - work = cpuworker_queue_work(consensus_compress_worker_threadfn, + work = cpuworker_queue_work(WQ_PRI_LOW, + consensus_compress_worker_threadfn, consensus_compress_worker_replyfn, job); if (!work) { |