Health check
Hi
I would like to implement an health check for Solid Queue, but it seems difficult to check pidfile of the supervisor in a container context.
I am wondering if the polling of SolidQueue::Process#last_heartbeat_at column should the good way to check health of Solid Queue, what do you think of it ?
Thanks.
Hey @tchukuchuk, so sorry for the delay! I totally missed this one 😓
The last_heartbeat_at column could work if you check a single supervisor, but I'm planning to provide some more useful hooks as part of https://github.com/rails/solid_queue/issues/179#issuecomment-2162927247, in case you wanted this for readiness status.
Thanks for your patience! Here's what I added to help with k8s readiness status: #317. Would this help in your case?