here change a little the behaviour of debug mode so we can still have multiple workers in gunicorn : - Don't preload app - Set wsgi.multiprocess=False rationnal is that when app isn't loaded it run in its own thread and can't be evaluated by another process simultaneously. So setting wsgi.multiprocess in this case sound good.
released. Solve error I have when testing and going back to old address too fast.
already manage_workers, no need to run this function in reload.
(at least on py26). Instead of testing type of instance, just test if the source has a "recv" method. Fix bug in usr2 with new parser.
behavior : Configuration reload Start the new worker processes with a new configuration Gracefully shutdown the old worker processes To reload gunicorn code use USR2 signal.