mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #2526 from smilerlee/master
Fix a naming error for gthread worker
This commit is contained in:
commit
2ffc1b7512
@ -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