From aaed22304d63124a26b890d4d2d57805f9919393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Bitard?= Date: Fri, 2 Jul 2021 20:38:15 +0200 Subject: [PATCH] Fix convert integer CONCURRENT_REQUEST_PER_WORKER (#1247) --- rest_api/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_api/config.py b/rest_api/config.py index b974fa88f..4317036b7 100644 --- a/rest_api/config.py +++ b/rest_api/config.py @@ -9,4 +9,4 @@ FILE_UPLOAD_PATH = os.getenv("FILE_UPLOAD_PATH", "./file-upload") LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO") ROOT_PATH = os.getenv("ROOT_PATH", "/") -CONCURRENT_REQUEST_PER_WORKER = os.getenv("CONCURRENT_REQUEST_PER_WORKER", 4) +CONCURRENT_REQUEST_PER_WORKER = int(os.getenv("CONCURRENT_REQUEST_PER_WORKER", 4))