When you say potential deadlock you mean when the caller calls the callee and the calle calls the caller back?
Yeah, I can see that you would get a deadlock forever, but at the same time I don’t see setting the timeout number to something big would help in this case, you would get this GenServer blocked for 3 weeks anyway until the timeout and then probably not too much time later a similar call would come that would block it again to more 3 weeks.
Personally I would consider this specific case as a software bug that needs to be fixed in the code side and not mitigated by timeout parameters.


















