mrc-ide / rrq

:runner::runner::runner: Lightweight Redis queues
https://mrc-ide.github.io/rrq/
Other
24 stars 4 forks source link

mrc-2068: Support for multiple queues #27

Closed richfitz closed 3 years ago

richfitz commented 3 years ago

Basic support for multiple queues within an rrq object. When workers are created a vector of queues (indicated by names) can be specified - they listen to these in descending order.

This is inadequately tested at the moment:

codecov[bot] commented 3 years ago

Codecov Report

Merging #27 (2126222) into master (4610b46) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #27   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         1084      1112   +28     
=========================================
+ Hits          1084      1112   +28     
Impacted Files Coverage Δ
R/common.R 100.00% <ø> (ø)
R/bulk.R 100.00% <100.00%> (ø)
R/keys.R 100.00% <100.00%> (ø)
R/rrq_controller.R 100.00% <100.00%> (ø)
R/worker.R 100.00% <100.00%> (ø)
R/worker_config.R 100.00% <100.00%> (ø)
R/worker_runner.R 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4610b46...2126222. Read the comment docs.