Fixed #18336 -- Doubled request_queue_size.
This reduces random failures to load static files with Google Chrome.
This commit is contained in:
parent
4769db6b5f
commit
4ff682c1ba
|
@ -108,6 +108,8 @@ class ServerHandler(simple_server.ServerHandler, object):
|
|||
class WSGIServer(simple_server.WSGIServer, object):
|
||||
"""BaseHTTPServer that implements the Python WSGI protocol"""
|
||||
|
||||
request_queue_size = 10
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
if kwargs.pop('ipv6', False):
|
||||
self.address_family = socket.AF_INET6
|
||||
|
|
Loading…
Reference in New Issue