Update config docs to match DEFAULT_CONFIG (#1803)

* Set REAL_IP_HEADER's default value to "X-Real-IP"

* Update config instead
This commit is contained in:
Kevin Guillaumond
2020-03-14 08:57:39 -07:00
committed by GitHub
parent 319388d78b
commit 60b4efad67
2 changed files with 13 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ DEFAULT_CONFIG = {
"RESPONSE_TIMEOUT": 60, # 60 seconds
"KEEP_ALIVE": True,
"KEEP_ALIVE_TIMEOUT": 5, # 5 seconds
"WEBSOCKET_MAX_SIZE": 2 ** 20, # 1 megabytes
"WEBSOCKET_MAX_SIZE": 2 ** 20, # 1 megabyte
"WEBSOCKET_MAX_QUEUE": 32,
"WEBSOCKET_READ_LIMIT": 2 ** 16,
"WEBSOCKET_WRITE_LIMIT": 2 ** 16,