Skip to content
Discussion options

You must be logged in to vote

Hi, @aidalgol!

When I launch the worker process, I use the Process.monitor functions to know if it fails.

Here is the function that uses Monitoring.add, and here uses Process.monitor.
The {:DOWN message will come to the main Poolex's process when something goes wrong.

You can read about Process.monitor function here.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aidalgol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants