expose request_buffer_queue_size to be configurable and update documentation

fix StreamBuffer buffer_size
This commit is contained in:
Yun Xu
2018-12-04 20:12:04 -08:00
parent b5287184e9
commit 1bfbc67c62
5 changed files with 11 additions and 7 deletions

View File

@@ -32,6 +32,7 @@ class Config(dict):
▀▀▄▄▀
"""
self.REQUEST_MAX_SIZE = 100000000 # 100 megabytes
self.REQUEST_BUFFER_QUEUE_SIZE = 100
self.REQUEST_TIMEOUT = 60 # 60 seconds
self.RESPONSE_TIMEOUT = 60 # 60 seconds
self.KEEP_ALIVE = keep_alive