From: Ben Darnell Date: Thu, 26 Aug 2010 18:40:49 +0000 (-0700) Subject: Document the limitations of multi-process mode. X-Git-Tag: v1.1.0~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86667742944aec95bb909876be486ca278254e5a;p=thirdparty%2Ftornado.git Document the limitations of multi-process mode. Closes #65. --- diff --git a/tornado/httpserver.py b/tornado/httpserver.py index dc6138298..f5d5da67f 100644 --- a/tornado/httpserver.py +++ b/tornado/httpserver.py @@ -184,6 +184,11 @@ class HTTPServer(object): Since we use processes and not threads, there is no shared memory between any server code. + + Note that multiple processes are not compatible with the autoreload + module (or the debug=True option to tornado.web.Application). + When using multiple processes, no IOLoops can be created or + referenced until after the call to HTTPServer.start(n). """ assert not self._started self._started = True