[DEV] set more workers (100)
This commit is contained in:
parent
2d646457be
commit
3fadf92fd5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user