File: environment.rst

package info (click to toggle)
python-eventlet 0.26.1-7%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,916 kB
  • sloc: python: 24,898; makefile: 98
file content (21 lines) | stat: -rw-r--r-- 738 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.. _env_vars:

Environment Variables
======================

Eventlet's behavior can be controlled by a few environment variables.
These are only for the advanced user.

EVENTLET_HUB 

   Used to force Eventlet to use the specified hub instead of the
   optimal one.  See :ref:`understanding_hubs` for the list of
   acceptable hubs and what they mean (note that picking a hub not on
   the list will silently fail).  Equivalent to calling
   :meth:`eventlet.hubs.use_hub` at the beginning of the program.

EVENTLET_THREADPOOL_SIZE

   The size of the threadpool in :mod:`~eventlet.tpool`.  This is an
   environment variable because tpool constructs its pool on first
   use, so any control of the pool size needs to happen before then.