From fab8787a6549e1cf17a87845f9094fe91bfae5d3 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Fri, 27 May 2022 11:25:06 +0900 Subject: [PATCH] Enable to specify the number of threads in windows, fix #1762 --- backend/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/cli.py b/backend/cli.py index 51c0f6c9..cdbfc7c6 100644 --- a/backend/cli.py +++ b/backend/cli.py @@ -66,7 +66,7 @@ def run_on_windows(args): from config.wsgi import application - serve(application, port=args.port) + serve(application, port=args.port, threads=args.workers) def command_db_init(args):