From 6e77647eb91c0ca3a78f4600d629435e746f7cb5 Mon Sep 17 00:00:00 2001 From: jaschop <1k5o@tuta.io> Date: Thu, 24 Aug 2023 14:25:22 +0200 Subject: [PATCH] tune threads to avoid queued tasks in normal situations --- run_prod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_prod.py b/run_prod.py index df17029..e7b2257 100644 --- a/run_prod.py +++ b/run_prod.py @@ -11,4 +11,4 @@ with app.app_context(): config = migrate.get_config() command.upgrade(config, "head") -serve(app, host="0.0.0.0", port=5000) +serve(app, host="0.0.0.0", port=5000, threads=20)