Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 774B

12345678910111213141516171819202122
  1. # -*- coding: utf-8 -
  2. #
  3. # This file is part of gunicorn released under the MIT license.
  4. # See the NOTICE for more information.
  5. import sys
  6. # supported gunicorn workers.
  7. SUPPORTED_WORKERS = {
  8. "sync": "gunicorn.workers.sync.SyncWorker",
  9. "eventlet": "gunicorn.workers.geventlet.EventletWorker",
  10. "gevent": "gunicorn.workers.ggevent.GeventWorker",
  11. "gevent_wsgi": "gunicorn.workers.ggevent.GeventPyWSGIWorker",
  12. "gevent_pywsgi": "gunicorn.workers.ggevent.GeventPyWSGIWorker",
  13. "tornado": "gunicorn.workers.gtornado.TornadoWorker",
  14. "gthread": "gunicorn.workers.gthread.ThreadWorker",
  15. }
  16. if sys.version_info >= (3, 3):
  17. # gaiohttp worker can be used with Python 3.3+ only.
  18. SUPPORTED_WORKERS["gaiohttp"] = "gunicorn.workers.gaiohttp.AiohttpWorker"