<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Environment Variables — Eventlet 0.13.0 documentation</title> <link rel="stylesheet" href="_static/default.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '0.13.0', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="Eventlet 0.13.0 documentation" href="index.html" /> <link rel="next" title="Module Reference" href="modules.html" /> <link rel="prev" title="Testing Eventlet" href="testing.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="modules.html" title="Module Reference" accesskey="N">next</a> |</li> <li class="right" > <a href="testing.html" title="Testing Eventlet" accesskey="P">previous</a> |</li> <li><a href="index.html">Eventlet 0.13.0 documentation</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="environment-variables"> <span id="env-vars"></span><h1>Environment Variables<a class="headerlink" href="#environment-variables" title="Permalink to this headline">ΒΆ</a></h1> <p>Eventlet’s behavior can be controlled by a few environment variables. These are only for the advanced user.</p> <p>EVENTLET_HUB</p> <blockquote> <div>Used to force Eventlet to use the specified hub instead of the optimal one. See <a class="reference internal" href="hubs.html#understanding-hubs"><em>Understanding Eventlet Hubs</em></a> 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 <a class="reference internal" href="hubs.html#eventlet.hubs.use_hub" title="eventlet.hubs.use_hub"><tt class="xref py py-meth docutils literal"><span class="pre">eventlet.hubs.use_hub()</span></tt></a> at the beginning of the program.</div></blockquote> <p>EVENTLET_THREADPOOL_SIZE</p> <blockquote> <div>The size of the threadpool in <a class="reference internal" href="threading.html#module-eventlet.tpool" title="eventlet.tpool"><tt class="xref py py-mod docutils literal"><span class="pre">tpool</span></tt></a>. 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.</div></blockquote> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="testing.html" title="previous chapter">Testing Eventlet</a></p> <h4>Next topic</h4> <p class="topless"><a href="modules.html" title="next chapter">Module Reference</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/environment.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="modules.html" title="Module Reference" >next</a> |</li> <li class="right" > <a href="testing.html" title="Testing Eventlet" >previous</a> |</li> <li><a href="index.html">Eventlet 0.13.0 documentation</a> »</li> </ul> </div> <div class="footer"> © Copyright 2005-2010, Eventlet Contributors. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>