mirror of https://github.com/apache/superset.git
less number of default workers. (#1206)
This commit is contained in:
parent
94578cb6a7
commit
609ae22bda
|
@ -32,7 +32,7 @@ manager.add_command('db', MigrateCommand)
|
|||
'-p', '--port', default=config.get("CARAVEL_WEBSERVER_PORT"),
|
||||
help="Specify the port on which to run the web server")
|
||||
@manager.option(
|
||||
'-w', '--workers', default=config.get("CARAVEL_WORKERS", 16),
|
||||
'-w', '--workers', default=config.get("CARAVEL_WORKERS", 2),
|
||||
help="Number of gunicorn web server workers to fire up")
|
||||
@manager.option(
|
||||
'-t', '--timeout', default=config.get("CARAVEL_WEBSERVER_TIMEOUT"),
|
||||
|
|
|
@ -30,7 +30,7 @@ with open(PACKAGE_FILE) as package_file:
|
|||
VERSION_STRING = json.load(package_file)['version']
|
||||
|
||||
ROW_LIMIT = 50000
|
||||
CARAVEL_WORKERS = 16
|
||||
CARAVEL_WORKERS = 2
|
||||
|
||||
CARAVEL_WEBSERVER_ADDRESS = '0.0.0.0'
|
||||
CARAVEL_WEBSERVER_PORT = 8088
|
||||
|
|
|
@ -136,7 +136,7 @@ of the parameters you can copy / paste in that configuration module: ::
|
|||
# Caravel specific config
|
||||
#---------------------------------------------------------
|
||||
ROW_LIMIT = 5000
|
||||
CARAVEL_WORKERS = 16
|
||||
CARAVEL_WORKERS = 4
|
||||
|
||||
CARAVEL_WEBSERVER_PORT = 8088
|
||||
#---------------------------------------------------------
|
||||
|
@ -344,4 +344,3 @@ your environment.::
|
|||
npm run prod
|
||||
cd $CARAVEL_HOME
|
||||
python setup.py install
|
||||
|
||||
|
|
Loading…
Reference in New Issue