See also
gevent.setswitchinterval()
For additional runtime configuration.
Config
[source]¶Global configuration for gevent.
There is one instance of this object at gevent.config
. If you
are going to make changes in code, instead of using the documented
environment variables, you need to make the changes before using
any parts of gevent that might need those settings. For example:
>>> from gevent import config
>>> config.fileobject = 'thread'
>>> from gevent import fileobject
>>> fileobject.FileObject.__name__
'FileObjectThread'
New in version 1.3a2.
Next page: API reference