Fix a naming error for gthread worker

This commit is contained in:
Smiler Lee 2021-02-24 17:43:17 +08:00
parent 3b8ce3df1f
commit fb05e33377

View File

@ -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