mirror of
https://github.com/django/django.git
synced 2025-03-12 18:30:48 +00:00
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):
|
class WSGIServer(simple_server.WSGIServer, object):
|
||||||
"""BaseHTTPServer that implements the Python WSGI protocol"""
|
"""BaseHTTPServer that implements the Python WSGI protocol"""
|
||||||
|
|
||||||
|
request_queue_size = 10
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
if kwargs.pop('ipv6', False):
|
if kwargs.pop('ipv6', False):
|
||||||
self.address_family = socket.AF_INET6
|
self.address_family = socket.AF_INET6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user