diff --git a/sanic/config.py b/sanic/config.py index 88c52bbd..cb722f74 100644 --- a/sanic/config.py +++ b/sanic/config.py @@ -27,7 +27,6 @@ DEFAULT_CONFIG = { "PROXIES_COUNT": None, "REAL_IP_HEADER": None, "REGISTER": True, - "REQUEST_BUFFER_QUEUE_SIZE": 100, "REQUEST_BUFFER_SIZE": 65536, # 64 KiB "REQUEST_ID_HEADER": "X-Request-ID", "REQUEST_MAX_SIZE": 100000000, # 100 megabytes diff --git a/sanic/server.py b/sanic/server.py index 0d88259a..6cbc5d58 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -122,7 +122,6 @@ class HttpProtocol(asyncio.Protocol): "response_timeout", "keep_alive_timeout", "request_max_size", - "request_buffer_queue_size", "request_class", "error_handler", # enable or disable access log purpose @@ -165,9 +164,6 @@ class HttpProtocol(asyncio.Protocol): self.request_handler = self.app.handle_request self.error_handler = self.app.error_handler self.request_timeout = self.app.config.REQUEST_TIMEOUT - self.request_buffer_queue_size = ( - self.app.config.REQUEST_BUFFER_QUEUE_SIZE - ) self.response_timeout = self.app.config.RESPONSE_TIMEOUT self.keep_alive_timeout = self.app.config.KEEP_ALIVE_TIMEOUT self.request_max_size = self.app.config.REQUEST_MAX_SIZE