tune threads to avoid queued tasks in normal situations #69
@ -11,4 +11,4 @@ with app.app_context():
|
|||||||
config = migrate.get_config()
|
config = migrate.get_config()
|
||||||
command.upgrade(config, "head")
|
command.upgrade(config, "head")
|
||||||
|
|
||||||
serve(app, host="0.0.0.0", port=5000)
|
serve(app, host="0.0.0.0", port=5000, threads=20)
|
||||||
|
Loading…
Reference in New Issue
Block a user