goworker icon indicating copy to clipboard operation
goworker copied to clipboard

worker: Add logic for heatbeat and prune

Open xescugc opened this issue 3 years ago • 0 comments

This logic is ported from the Ruby.

It allows each worker to heartbeat Redis so if everything is killed instead of keeping them on the DB it'll try to prun them after a while (5').

The only logic ont ported from Ruby is the one about checking the PID.

Closes #65

xescugc avatar Jun 04 '21 16:06 xescugc