]> 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>
Sun, 31 Aug 2014 02:52:54 +0000 (22:52 -0400)
commitce7261d450d5b50ba476d8eb12c72db04abd4b16
treefb4859167c3363805d98bcf2ecc715c2f0b64a59
parent0357565a5e7330465db2ac4e330f44bc3ddf76f6
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