On 04/04 10:08, Simon Eskildsen wrote: > Hi! > > With Jeremy Evans' work on `after_worker_exit`, I was hoping I could > replace our internal fork which has a `before_murder` hook to report > to monitoring systems when workers are forcibly killed. However, the > `after_worker_exit` is only called on reaping???not when murdering. > > How would you feel about executing this on the murder path? > Alternatively, we could add an `after_murder` hook for this path.
I checked and after_worker_exit is called when reaping the worker after murdering, so I don't think any changes are necessary. I would guess if you added it when murdering, it would be called twice on the same worker. Thanks, Jeremy -- unsubscribe: unicorn-public+unsubscr...@bogomips.org archive: https://bogomips.org/unicorn-public/