From fb05e333776348651d1b2d759a5857969cb2f476 Mon Sep 17 00:00:00 2001 From: Smiler Lee Date: Wed, 24 Feb 2021 17:43:17 +0800 Subject: [PATCH] Fix a naming error for gthread worker --- gunicorn/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/config.py b/gunicorn/config.py index 8fd281be..e7388c5e 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -106,7 +106,7 @@ class Config(object): # are we using a threaded worker? is_sync = uri.endswith('SyncWorker') or uri == 'sync' if is_sync and self.threads > 1: - return "threads" + return "gthread" return uri @property