Debian Codegraph @

doc/source/environment.rst

raw
1 .. _env_vars:
2
3 Environment Variables
4 ======================
5
6 Eventlet's behavior can be controlled by a few environment variables.
7 These are only for the advanced user.
8
9 EVENTLET_HUB
10
11 Used to force Eventlet to use the specified hub instead of the
12 optimal one. See :ref:`understanding_hubs` for the list of
13 acceptable hubs and what they mean (note that picking a hub not on
14 the list will silently fail). Equivalent to calling
15 :meth:`eventlet.hubs.use_hub` at the beginning of the program.
16
17 EVENTLET_THREADPOOL_SIZE
18
19 The size of the threadpool in :mod:`~eventlet.tpool`. This is an
20 environment variable because tpool constructs its pool on first
21 use, so any control of the pool size needs to happen before then.