Closed nerdalert closed 2 months ago
This will cleanly map to grafana views. Also before popping the job off the queue, the worker needs to set the state to running.
Original reply
This won't work. Once you pop it, it's not there anymore. This is one reason I was interested in moving to Streams -- https://github.com/instructlab/instructlab-bot/issues/109
NEVERMIND - I'm wrong. I remember now that we store the job separately and just queue up job IDs. Carry on. Although I still like the idea of using Streams!
Resolved with #313
This will cleanly map to grafana views. Also before popping the job off the queue, the worker needs to set the state to running.