celery.conf.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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.1.14 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.1.14',
  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.1.14 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.1.14 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. <dt>
  54. <tt class="descname">The AMQP exchange.</tt></dt>
  55. <dd></dd></dl>
  56. <dl class="data">
  57. <dt id="celery.conf.AMQP_ROUTING_KEY">
  58. <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>
  59. <dt>
  60. <tt class="descname">The AMQP routing key.</tt></dt>
  61. <dd></dd></dl>
  62. <dl class="data">
  63. <dt id="celery.conf.AMQP_CONSUMER_QUEUE">
  64. <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>
  65. <dt>
  66. <tt class="descname">The name of the AMQP queue.</tt></dt>
  67. <dd></dd></dl>
  68. <dl class="data">
  69. <dt id="celery.conf.DAEMON_CONCURRENCY">
  70. <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>
  71. <dt>
  72. <tt class="descname">The number of worker processes, that should work simultaenously.</tt></dt>
  73. <dd></dd></dl>
  74. <dl class="data">
  75. <dt id="celery.conf.DAEMON_PID_FILE">
  76. <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>
  77. <dt>
  78. <tt class="descname">Full path to the daemon pid file.</tt></dt>
  79. <dd></dd></dl>
  80. <dl class="data">
  81. <dt id="celery.conf.EMPTY_MSG_EMIT_EVERY">
  82. <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>
  83. <dt>
  84. <tt class="descname">How often the celery daemon should write a log message saying there are no</tt></dt>
  85. <dt>
  86. <tt class="descname">messages in the queue. If this is ``None`` or ``0``, it will never print</tt></dt>
  87. <dt>
  88. <tt class="descname">this message.</tt></dt>
  89. <dd></dd></dl>
  90. <dl class="data">
  91. <dt id="celery.conf.QUEUE_WAKEUP_AFTER">
  92. <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>
  93. <dt>
  94. <tt class="descname">The time (in seconds) the celery daemon should sleep when there are no messages</tt></dt>
  95. <dt>
  96. <tt class="descname">left on the queue. After the time is slept, the worker wakes up and</tt></dt>
  97. <dt>
  98. <tt class="descname">checks the queue again.</tt></dt>
  99. <dd></dd></dl>
  100. <dl class="data">
  101. <dt id="celery.conf.DAEMON_LOG_LEVEL">
  102. <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>
  103. <dt>
  104. <tt class="descname">Celery daemon log level, could be any of ``DEBUG``, ``INFO``, ``WARNING``,</tt></dt>
  105. <dt>
  106. <tt class="descname">``ERROR``, ``CRITICAL``, or ``FATAL``.</tt></dt>
  107. <dd></dd></dl>
  108. <dl class="data">
  109. <dt id="celery.conf.DAEMON_LOG_FILE">
  110. <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>
  111. <dt>
  112. <tt class="descname">The path to the deamon log file (if not set, ``stderr`` is used).</tt></dt>
  113. <dd></dd></dl>
  114. <dl class="data">
  115. <dt id="celery.conf.LOG_FORMAT">
  116. <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>
  117. <dt>
  118. <tt class="descname">The format to use for log messages.</tt></dt>
  119. <dt>
  120. <tt class="descname">Default is ``[%(asctime)s: %(levelname)s/%(processName)s] %(message)s``</tt></dt>
  121. <dd></dd></dl>
  122. <dl class="data">
  123. <dt id="celery.conf.LOG_LEVELS">
  124. <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>
  125. <dt>
  126. <tt class="descname">Mapping of log level names to ``logging`` module constants.</tt></dt>
  127. <dd></dd></dl>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. <div class="sphinxsidebar">
  133. <div class="sphinxsidebarwrapper">
  134. <h4>Previous topic</h4>
  135. <p class="topless"><a href="celery.backends.tyrant.html"
  136. title="previous chapter">Backend: Tokyo Tyrant - celery.backends.tyrant</a></p>
  137. <h4>Next topic</h4>
  138. <p class="topless"><a href="celery.datastructures.html"
  139. title="next chapter">Datastructures - celery.datastructures</a></p>
  140. <h3>This Page</h3>
  141. <ul class="this-page-menu">
  142. <li><a href="../sources/reference/celery.conf.txt"
  143. rel="nofollow">Show Source</a></li>
  144. </ul>
  145. <div id="searchbox" style="display: none">
  146. <h3>Quick search</h3>
  147. <form class="search" action="../search.html" method="get">
  148. <input type="text" name="q" size="18" />
  149. <input type="submit" value="Go" />
  150. <input type="hidden" name="check_keywords" value="yes" />
  151. <input type="hidden" name="area" value="default" />
  152. </form>
  153. <p class="searchtip" style="font-size: 90%">
  154. Enter search terms or a module, class or function name.
  155. </p>
  156. </div>
  157. <script type="text/javascript">$('#searchbox').show(0);</script>
  158. </div>
  159. </div>
  160. <div class="clearer"></div>
  161. </div>
  162. <div class="related">
  163. <h3>Navigation</h3>
  164. <ul>
  165. <li class="right" style="margin-right: 10px">
  166. <a href="../genindex.html" title="General Index"
  167. >index</a></li>
  168. <li class="right" >
  169. <a href="../modindex.html" title="Global Module Index"
  170. >modules</a> |</li>
  171. <li class="right" >
  172. <a href="celery.datastructures.html" title="Datastructures - celery.datastructures"
  173. >next</a> |</li>
  174. <li class="right" >
  175. <a href="celery.backends.tyrant.html" title="Backend: Tokyo Tyrant - celery.backends.tyrant"
  176. >previous</a> |</li>
  177. <li><a href="../index.html">Celery v0.1.14 documentation</a> &raquo;</li>
  178. </ul>
  179. </div>
  180. <div class="footer">
  181. &copy; Copyright 2009, Ask Solem.
  182. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.1.
  183. </div>
  184. </body>
  185. </html>