Skip to content

Commit

Permalink
Update documentation to reflect changes in aca70fb
Browse files Browse the repository at this point in the history
  • Loading branch information
jbergstroem authored and davisp committed Jul 24, 2010
1 parent e99a384 commit 7acfe5c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions gunicorn/config.py
Expand Up @@ -280,24 +280,25 @@ class WorkerClass(Setting):
cli = ["-k", "--worker-class"]
meta = "STRING"
validator = validate_string
default = "egg:gunicorn#sync"
default = "sync"
desc = """\
The type of workers to use.
The default async class should handle most 'normal' types of work loads.
The default class (sync) should handle most 'normal' types of workloads.
You'll want to read http://gunicorn.org/design.hml for information on
when you might want to choose one of the other worker classes.
An string referring to a 'gunicorn.workers' entry point or a
MODULE:CLASS pair where CLASS is a subclass of
gunicorn.workers.base.Worker.
A string referring to one of the following bundled classes:
The default provided values are:
* ``sync``
* ``eventlet`` - Requires eventlet >= 0.9.7
* ``gevent`` - Requires gevent >= 0.12.2 (?)
* ``tornado`` - Requires tornado >= 0.2
* ``egg:gunicorn#sync``
* ``egg:gunicorn#eventlet`` - Requires eventlet >= 0.9.7
* ``egg:gunicorn#gevent`` - Requires gevent >= 0.12.2 (?)
* ``egg:gunicorn#tornado`` - Requires tornado >= 0.2
Optionally, you can provide your own worker by giving gunicorn a
MODULE:CLASS pair where CLASS is a subclass of
gunicorn.workers.base.Worker. This alternative syntax will load the
gevent class: ``egg:gunicorn#gevent``
"""

class WorkerConnections(Setting):
Expand Down

0 comments on commit 7acfe5c

Please sign in to comment.