I just found out the hard way that the maximum genserver timeout is 2^32-1, 4294967295 milliseconds, which is roughly 49 days. Does anybody know why that is? I’m not sure it is documented somewhere. If you specify a timeout value that is higher than that, the server process crashes with a
timeout_value exit message.
Of course such timeouts are quite ridiculous, but it’s also strange that it is not documented, it only says
Timeout = int()>0 | infinity; or, does
int() somehow imply a 32-bit integer?
BTW I created a little test module to check at what value the crash occurs.