mrc-ide / rrq

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

Error "Error: b must be length 2" when using $worker_detect_exited() and more than one worker was lost #22

Closed MartinHanewald closed 3 years ago

MartinHanewald commented 3 years ago

Hi,

I just experienced the above error, when using the heartbeat functionality and more than one worker was lost. Then the function worker_detect_exited() returns the Error message: "b must be length 2". Best regards, Martin

MartinHanewald commented 3 years ago

Hi, I have already implemented a fix on my fork. If you add me as a contributor I can submit a pull request. Thank you for your work. Best regards, Martin

richfitz commented 3 years ago

Thank you for reporting this - I've made your change in #26, along with a test