ostinelli/misultin — Issue #66: Use timeout in gen_tcp:accept
Author: knutin
Created: 2011-10-17 14:37:47+00:00
State: open

Hi,

It would be very useful to have misultin_socket:accept/2 timeout after a few seconds if it does not accept anything, as it would allow smoother code upgrades. When it timeouts, it should re-enter the same loop with a fully qualified module name so it gets the new code. This lets us avoid killing processes to force them to get the new code and not loose any requests.