123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- <!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>Configuration - celery.conf — Celery v0.1.14 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.1.14',
- COLLAPSE_MODINDEX: false,
- FILE_SUFFIX: '.html',
- HAS_SOURCE: true
- };
- </script>
- <script type="text/javascript" src="../static/jquery.js"></script>
- <script type="text/javascript" src="../static/doctools.js"></script>
- <link rel="top" title="Celery v0.1.14 documentation" href="../index.html" />
- <link rel="next" title="Datastructures - celery.datastructures" href="celery.datastructures.html" />
- <link rel="prev" title="Backend: Tokyo Tyrant - celery.backends.tyrant" href="celery.backends.tyrant.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="../modindex.html" title="Global Module Index"
- accesskey="M">modules</a> |</li>
- <li class="right" >
- <a href="celery.datastructures.html" title="Datastructures - celery.datastructures"
- accesskey="N">next</a> |</li>
- <li class="right" >
- <a href="celery.backends.tyrant.html" title="Backend: Tokyo Tyrant - celery.backends.tyrant"
- accesskey="P">previous</a> |</li>
- <li><a href="../index.html">Celery v0.1.14 documentation</a> »</li>
- </ul>
- </div>
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body">
-
- <div class="section" id="module-celery.conf">
- <h1>Configuration - celery.conf<a class="headerlink" href="#module-celery.conf" title="Permalink to this headline">¶</a></h1>
- <p>celery.conf</p>
- <dl class="data">
- <dt id="celery.conf.AMQP_EXCHANGE">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">AMQP_EXCHANGE</tt><a class="headerlink" href="#celery.conf.AMQP_EXCHANGE" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">The AMQP exchange.</tt></dt>
- <dd></dd></dl>
- <dl class="data">
- <dt id="celery.conf.AMQP_ROUTING_KEY">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">AMQP_ROUTING_KEY</tt><a class="headerlink" href="#celery.conf.AMQP_ROUTING_KEY" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">The AMQP routing key.</tt></dt>
- <dd></dd></dl>
- <dl class="data">
- <dt id="celery.conf.AMQP_CONSUMER_QUEUE">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">AMQP_CONSUMER_QUEUE</tt><a class="headerlink" href="#celery.conf.AMQP_CONSUMER_QUEUE" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">The name of the AMQP queue.</tt></dt>
- <dd></dd></dl>
- <dl class="data">
- <dt id="celery.conf.DAEMON_CONCURRENCY">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">DAEMON_CONCURRENCY</tt><a class="headerlink" href="#celery.conf.DAEMON_CONCURRENCY" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">The number of worker processes, that should work simultaenously.</tt></dt>
- <dd></dd></dl>
- <dl class="data">
- <dt id="celery.conf.DAEMON_PID_FILE">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">DAEMON_PID_FILE</tt><a class="headerlink" href="#celery.conf.DAEMON_PID_FILE" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">Full path to the daemon pid file.</tt></dt>
- <dd></dd></dl>
- <dl class="data">
- <dt id="celery.conf.EMPTY_MSG_EMIT_EVERY">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">EMPTY_MSG_EMIT_EVERY</tt><a class="headerlink" href="#celery.conf.EMPTY_MSG_EMIT_EVERY" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">How often the celery daemon should write a log message saying there are no</tt></dt>
- <dt>
- <tt class="descname">messages in the queue. If this is ``None`` or ``0``, it will never print</tt></dt>
- <dt>
- <tt class="descname">this message.</tt></dt>
- <dd></dd></dl>
- <dl class="data">
- <dt id="celery.conf.QUEUE_WAKEUP_AFTER">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">QUEUE_WAKEUP_AFTER</tt><a class="headerlink" href="#celery.conf.QUEUE_WAKEUP_AFTER" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">The time (in seconds) the celery daemon should sleep when there are no messages</tt></dt>
- <dt>
- <tt class="descname">left on the queue. After the time is slept, the worker wakes up and</tt></dt>
- <dt>
- <tt class="descname">checks the queue again.</tt></dt>
- <dd></dd></dl>
- <dl class="data">
- <dt id="celery.conf.DAEMON_LOG_LEVEL">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">DAEMON_LOG_LEVEL</tt><a class="headerlink" href="#celery.conf.DAEMON_LOG_LEVEL" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">Celery daemon log level, could be any of ``DEBUG``, ``INFO``, ``WARNING``,</tt></dt>
- <dt>
- <tt class="descname">``ERROR``, ``CRITICAL``, or ``FATAL``.</tt></dt>
- <dd></dd></dl>
- <dl class="data">
- <dt id="celery.conf.DAEMON_LOG_FILE">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">DAEMON_LOG_FILE</tt><a class="headerlink" href="#celery.conf.DAEMON_LOG_FILE" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">The path to the deamon log file (if not set, ``stderr`` is used).</tt></dt>
- <dd></dd></dl>
- <dl class="data">
- <dt id="celery.conf.LOG_FORMAT">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">LOG_FORMAT</tt><a class="headerlink" href="#celery.conf.LOG_FORMAT" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">The format to use for log messages.</tt></dt>
- <dt>
- <tt class="descname">Default is ``[%(asctime)s: %(levelname)s/%(processName)s] %(message)s``</tt></dt>
- <dd></dd></dl>
- <dl class="data">
- <dt id="celery.conf.LOG_LEVELS">
- <tt class="descclassname">celery.conf.</tt><tt class="descname">LOG_LEVELS</tt><a class="headerlink" href="#celery.conf.LOG_LEVELS" title="Permalink to this definition">¶</a></dt>
- <dt>
- <tt class="descname">Mapping of log level names to ``logging`` module constants.</tt></dt>
- <dd></dd></dl>
- </div>
- </div>
- </div>
- </div>
- <div class="sphinxsidebar">
- <div class="sphinxsidebarwrapper">
- <h4>Previous topic</h4>
- <p class="topless"><a href="celery.backends.tyrant.html"
- title="previous chapter">Backend: Tokyo Tyrant - celery.backends.tyrant</a></p>
- <h4>Next topic</h4>
- <p class="topless"><a href="celery.datastructures.html"
- title="next chapter">Datastructures - celery.datastructures</a></p>
- <h3>This Page</h3>
- <ul class="this-page-menu">
- <li><a href="../sources/reference/celery.conf.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" size="18" />
- <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="../modindex.html" title="Global Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="celery.datastructures.html" title="Datastructures - celery.datastructures"
- >next</a> |</li>
- <li class="right" >
- <a href="celery.backends.tyrant.html" title="Backend: Tokyo Tyrant - celery.backends.tyrant"
- >previous</a> |</li>
- <li><a href="../index.html">Celery v0.1.14 documentation</a> »</li>
- </ul>
- </div>
- <div class="footer">
- © Copyright 2009, Ask Solem.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.1.
- </div>
- </body>
- </html>
|