Skip to content

Commit fb05e33

Browse files
committed
Fix a naming error for gthread worker
1 parent 3b8ce3d commit fb05e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gunicorn/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def worker_class_str(self):
106106
# are we using a threaded worker?
107107
is_sync = uri.endswith('SyncWorker') or uri == 'sync'
108108
if is_sync and self.threads > 1:
109-
return "threads"
109+
return "gthread"
110110
return uri
111111

112112
@property

0 commit comments

Comments
 (0)