celery.conf.html 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Configuration - celery.conf &mdash; Celery v0.2.0-pre1 documentation</title>
  7. <link rel="stylesheet" href="../static/default.css" type="text/css" />
  8. <link rel="stylesheet" href="../static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '../',
  12. VERSION: '0.2.0-pre1',
  13. COLLAPSE_MODINDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="../static/jquery.js"></script>
  19. <script type="text/javascript" src="../static/doctools.js"></script>
  20. <link rel="top" title="Celery v0.2.0-pre1 documentation" href="../index.html" />
  21. <link rel="next" title="Datastructures - celery.datastructures" href="celery.datastructures.html" />
  22. <link rel="prev" title="Backend: Tokyo Tyrant - celery.backends.tyrant" href="celery.backends.tyrant.html" />
  23. </head>
  24. <body>
  25. <div class="related">
  26. <h3>Navigation</h3>
  27. <ul>
  28. <li class="right" style="margin-right: 10px">
  29. <a href="../genindex.html" title="General Index"
  30. accesskey="I">index</a></li>
  31. <li class="right" >
  32. <a href="../modindex.html" title="Global Module Index"
  33. accesskey="M">modules</a> |</li>
  34. <li class="right" >
  35. <a href="celery.datastructures.html" title="Datastructures - celery.datastructures"
  36. accesskey="N">next</a> |</li>
  37. <li class="right" >
  38. <a href="celery.backends.tyrant.html" title="Backend: Tokyo Tyrant - celery.backends.tyrant"
  39. accesskey="P">previous</a> |</li>
  40. <li><a href="../index.html">Celery v0.2.0-pre1 documentation</a> &raquo;</li>
  41. </ul>
  42. </div>
  43. <div class="document">
  44. <div class="documentwrapper">
  45. <div class="bodywrapper">
  46. <div class="body">
  47. <div class="section" id="module-celery.conf">
  48. <h1>Configuration - celery.conf<a class="headerlink" href="#module-celery.conf" title="Permalink to this headline">¶</a></h1>
  49. <p>celery.conf</p>
  50. <dl class="data">
  51. <dt id="celery.conf.AMQP_EXCHANGE">
  52. <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>
  53. <dd>The AMQP exchange.</dd></dl>
  54. <dl class="data">
  55. <dt id="celery.conf.AMQP_ROUTING_KEY">
  56. <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>
  57. <dd>The AMQP routing key.</dd></dl>
  58. <dl class="data">
  59. <dt id="celery.conf.AMQP_CONSUMER_QUEUE">
  60. <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>
  61. <dd>The name of the AMQP queue.</dd></dl>
  62. <dl class="data">
  63. <dt id="celery.conf.DAEMON_CONCURRENCY">
  64. <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>
  65. <dd>The number of worker processes, that should work simultaenously.</dd></dl>
  66. <dl class="data">
  67. <dt id="celery.conf.DAEMON_PID_FILE">
  68. <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>
  69. <dd>Full path to the daemon pid file.</dd></dl>
  70. <dl class="data">
  71. <dt id="celery.conf.EMPTY_MSG_EMIT_EVERY">
  72. <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>
  73. <dd>How often the celery daemon should write a log message saying there are no
  74. messages in the queue. If this is <tt class="xref docutils literal"><span class="pre">None</span></tt> or <tt class="docutils literal"><span class="pre">0</span></tt>, it will never print
  75. this message.</dd></dl>
  76. <dl class="data">
  77. <dt id="celery.conf.QUEUE_WAKEUP_AFTER">
  78. <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>
  79. <dd>The time (in seconds) the celery daemon should sleep when there are no messages
  80. left on the queue. After the time is slept, the worker wakes up and
  81. checks the queue again.</dd></dl>
  82. <dl class="data">
  83. <dt id="celery.conf.DAEMON_LOG_LEVEL">
  84. <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>
  85. <dd>Celery daemon log level, could be any of <tt class="docutils literal"><span class="pre">DEBUG</span></tt>, <tt class="docutils literal"><span class="pre">INFO</span></tt>, <tt class="docutils literal"><span class="pre">WARNING</span></tt>,
  86. <tt class="docutils literal"><span class="pre">ERROR</span></tt>, <tt class="docutils literal"><span class="pre">CRITICAL</span></tt>, or <tt class="docutils literal"><span class="pre">FATAL</span></tt>.</dd></dl>
  87. <dl class="data">
  88. <dt id="celery.conf.DAEMON_LOG_FILE">
  89. <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>
  90. <dd>The path to the deamon log file (if not set, <tt class="docutils literal"><span class="pre">stderr</span></tt> is used).</dd></dl>
  91. <dl class="data">
  92. <dt id="celery.conf.LOG_FORMAT">
  93. <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>
  94. <dd>The format to use for log messages.
  95. Default is <tt class="docutils literal"><span class="pre">[%(asctime)s:</span> <span class="pre">%(levelname)s/%(processName)s]</span> <span class="pre">%(message)s</span></tt></dd></dl>
  96. <dl class="data">
  97. <dt id="celery.conf.LOG_LEVELS">
  98. <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>
  99. <dd>Mapping of log level names to <tt class="docutils literal"><span class="pre">logging</span></tt> module constants.</dd></dl>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. <div class="sphinxsidebar">
  105. <div class="sphinxsidebarwrapper">
  106. <h4>Previous topic</h4>
  107. <p class="topless"><a href="celery.backends.tyrant.html"
  108. title="previous chapter">Backend: Tokyo Tyrant - celery.backends.tyrant</a></p>
  109. <h4>Next topic</h4>
  110. <p class="topless"><a href="celery.datastructures.html"
  111. title="next chapter">Datastructures - celery.datastructures</a></p>
  112. <h3>This Page</h3>
  113. <ul class="this-page-menu">
  114. <li><a href="../sources/reference/celery.conf.txt"
  115. rel="nofollow">Show Source</a></li>
  116. </ul>
  117. <div id="searchbox" style="display: none">
  118. <h3>Quick search</h3>
  119. <form class="search" action="../search.html" method="get">
  120. <input type="text" name="q" size="18" />
  121. <input type="submit" value="Go" />
  122. <input type="hidden" name="check_keywords" value="yes" />
  123. <input type="hidden" name="area" value="default" />
  124. </form>
  125. <p class="searchtip" style="font-size: 90%">
  126. Enter search terms or a module, class or function name.
  127. </p>
  128. </div>
  129. <script type="text/javascript">$('#searchbox').show(0);</script>
  130. </div>
  131. </div>
  132. <div class="clearer"></div>
  133. </div>
  134. <div class="related">
  135. <h3>Navigation</h3>
  136. <ul>
  137. <li class="right" style="margin-right: 10px">
  138. <a href="../genindex.html" title="General Index"
  139. >index</a></li>
  140. <li class="right" >
  141. <a href="../modindex.html" title="Global Module Index"
  142. >modules</a> |</li>
  143. <li class="right" >
  144. <a href="celery.datastructures.html" title="Datastructures - celery.datastructures"
  145. >next</a> |</li>
  146. <li class="right" >
  147. <a href="celery.backends.tyrant.html" title="Backend: Tokyo Tyrant - celery.backends.tyrant"
  148. >previous</a> |</li>
  149. <li><a href="../index.html">Celery v0.2.0-pre1 documentation</a> &raquo;</li>
  150. </ul>
  151. </div>
  152. <div class="footer">
  153. &copy; Copyright 2009, Ask Solem.
  154. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.1.
  155. </div>
  156. </body>
  157. </html>