Restart worker permanently with timeout

I think this is a recurring question already. Check out this thread:

(it also links to other threads).

tl;dr: you don’t use supervisors to deal with external resource failures. Instead you need to implement handling of such failures, since they are expected behaviors.

Supervisors are used to handle internal failures, that are exceptional by definition.

2 Likes