]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Document the limitations of multi-process mode.
authorBen Darnell <ben@bendarnell.com>
Thu, 26 Aug 2010 18:40:49 +0000 (11:40 -0700)
committerBen Darnell <ben@bendarnell.com>
Thu, 26 Aug 2010 18:40:49 +0000 (11:40 -0700)
Closes #65.

tornado/httpserver.py

index dc61382981f8b6d85b2caf9fddef9670a7cf16d1..f5d5da67f065edb3da5e8bce49a0c93f450a76cc 100644 (file)
@@ -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