mrc-ide / rrq

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

Progress handling for new-style task running #112

Closed richfitz closed 6 months ago

richfitz commented 6 months ago

Code change is very small: we just need to register a handler for the progress condition and then zap it once handled.

The test change is weirder; I've duplicated the code for the old-style tests and then changed all controller uses to use free functions. There's one test there that is clearly in the wrong file.

Before zap() was added I got the same error we saw in hintr, so pretty sure this is right. I'll update the hintr PR to point at this branch and see what happens...