rails / solid_queue

Database-backed Active Job backend
MIT License
1.66k stars 90 forks source link

Health check #242

Open tchukuchuk opened 1 month ago

tchukuchuk commented 1 month ago

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.