Add the 'gthread' worker to the gunicorn.workers.SUPPORTED_WORKERS dictionary

Fixes #1011.
This commit is contained in:
Vlad Dragos 2015-04-22 13:27:34 +03:00 committed by Berker Peksag
parent 5e5e0fd6cf
commit 342512a128

View File

@ -12,7 +12,9 @@ SUPPORTED_WORKERS = {
"gevent": "gunicorn.workers.ggevent.GeventWorker",
"gevent_wsgi": "gunicorn.workers.ggevent.GeventPyWSGIWorker",
"gevent_pywsgi": "gunicorn.workers.ggevent.GeventPyWSGIWorker",
"tornado": "gunicorn.workers.gtornado.TornadoWorker"}
"tornado": "gunicorn.workers.gtornado.TornadoWorker",
"gthread": "gunicorn.workers.gthread.ThreadWorker",
}
if sys.version_info >= (3, 3):