* fixed #1143

* fixed build failed with create_serve call _helper failed
This commit is contained in:
hqy
2018-08-16 01:23:04 +08:00
committed by Raphael Deem
parent 212da1029e
commit 6abdf9f9c1
2 changed files with 9 additions and 8 deletions

View File

@@ -39,6 +39,7 @@ class Config(dict):
self.WEBSOCKET_READ_LIMIT = 2 ** 16
self.WEBSOCKET_WRITE_LIMIT = 2 ** 16
self.GRACEFUL_SHUTDOWN_TIMEOUT = 15.0 # 15 sec
self.ACCESS_LOG = True
if load_env:
prefix = SANIC_PREFIX if load_env is True else load_env