mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix a naming error for gthread worker
This commit is contained in:
parent
3b8ce3df1f
commit
fb05e33377
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user