[DEV] set more workers (100)

This commit is contained in:
Edouard DUPIN 2020-03-10 22:33:54 +01:00
parent 2d646457be
commit 3fadf92fd5

View File

@ -110,7 +110,7 @@ if __name__ == "__main__":
debug.info("Start REST application: " + str(app.config['REST_HOST']) + ":" + str(app.config['REST_PORT']))
app.config.REQUEST_MAX_SIZE=10*1024*1024*1024
app.config.REQUEST_TIMEOUT=60*60
app.run(host=app.config['REST_HOST'], port=int(app.config['REST_PORT']))
app.run(host=app.config['REST_HOST'], port=int(app.config['REST_PORT']), workers=100)
#app.stop()
debug.info("Sync all BDD ... (do not force stop ...)");
data_global_elements.save_all_before_stop();