]> git.ipfire.org Git - thirdparty/tornado.git/commit
Limit the number of connections we will accept per call to accept_handler.
authorBen Darnell <ben@bendarnell.com>
Sun, 31 Aug 2014 02:52:54 +0000 (22:52 -0400)
committerBen Darnell <ben@bendarnell.com>
Mon, 1 Sep 2014 14:45:07 +0000 (10:45 -0400)
commitf16aa39c976fcc5f17cfc44f334c7238b53a3814
tree16708e1a688bc10cd4dc6cce3ccb913b74066a01
parentc1a123a8cd0b5de360e280ea34b8e97c078f2291
Limit the number of connections we will accept per call to accept_handler.

This ensures that other callbacks scheduled on the IOLoop have a chance
to run.  This shows up as increased memory usage in benchmark scenarios
(since 4.0 allowed simple http transactions to be processed synchronously).
tornado/netutil.py