Open tko opened 9 years ago
The child processes die if the parent process does not touch a file within reload_interval * 2
seconds. This is to prevent a crashing reloader from leaving zombies behind that hog the listening port and have to be killed manually. The reloader does not restart processes that died that way. That could be changed but I don't see a very strong use case.
I'm running bottle 0.12.8 on a laptop with
run(reloader=True, debug=True)
and from what I can tell every time after the laptop resumes from sleep the bottle server has silently exited.I can't think of a good reason to exit because of suspend/resume, but if it must then some explanatory error message and/or exit code would be in order IMO.