mrc-ide / rrq

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

MRC-734: Support for cancelling tasks #13

Closed richfitz closed 4 years ago

richfitz commented 4 years ago

This PR adds support for cancelling tasks. It's somewhat delicate due to the potential for race conditions and cancelling the wrong task, and that is explained above the implantation.

codecov[bot] commented 4 years ago

Codecov Report

Merging #13 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #13   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          17     17           
  Lines         995   1024   +29     
=====================================
+ Hits          995   1024   +29
Impacted Files Coverage Δ
R/rrq_controller.R 100% <100%> (ø) :arrow_up:
R/worker_run.R 100% <100%> (ø) :arrow_up:

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 cc02aa3...0b9d11a. Read the comment docs.