Merge pull request #2526 from smilerlee/master

Fix a naming error for gthread worker
This commit is contained in:
Benoit Chesneau 2021-02-24 11:57:57 +01:00 committed by GitHub
commit 2ffc1b7512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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