Browse Source

Autogenerated documentation for github.

Ask Solem 15 năm trước cách đây
mục cha
commit
65d61bc37c
4 tập tin đã thay đổi với 11 bổ sung1 xóa
  1. 5 0
      faq.html
  2. 1 1
      reference/celery.utils.html
  3. 0 0
      searchindex.js
  4. 5 0
      sources/faq.txt

+ 5 - 0
faq.html

@@ -287,6 +287,11 @@ configuration using the database backend with MySQL:</p>
 
 <span class="c"># Using the database backend.</span>
 <span class="n">CELERY_BACKEND</span> <span class="o">=</span> <span class="s">&quot;database&quot;</span>
+<span class="n">DATABASE_ENGINE</span> <span class="o">=</span> <span class="s">&quot;mysql&quot;</span> <span class="c"># see Django docs for a description of these.</span>
+<span class="n">DATABASE_NAME</span> <span class="o">=</span> <span class="s">&quot;mydb&quot;</span>
+<span class="n">DATABASE_HOST</span> <span class="o">=</span> <span class="s">&quot;mydb.example.org&quot;</span>
+<span class="n">DATABASE_USER</span> <span class="o">=</span> <span class="s">&quot;myuser&quot;</span>
+<span class="n">DATABASE_PASSWORD</span> <span class="o">=</span> <span class="s">&quot;mysecret&quot;</span>
 
 <span class="c"># Number of processes that processes tasks simultaneously.</span>
 <span class="n">CELERYD_CONCURRENCY</span> <span class="o">=</span> <span class="mf">8</span>

+ 1 - 1
reference/celery.utils.html

@@ -97,7 +97,7 @@ yield the last value infinitely.</dd></dl>
 
 <dl class="function">
 <dt id="celery.utils.retry_over_time">
-<tt class="descclassname">celery.utils.</tt><tt class="descname">retry_over_time</tt><big>(</big><em>fun</em>, <em>catch</em>, <em>args=</em><span class="optional">[</span><span class="optional">]</span>, <em>kwargs={}</em>, <em>errback=&lt;function &lt;lambda&gt; at 0x21c4a30&gt;</em>, <em>max_retries=None</em>, <em>interval_start=2</em>, <em>interval_step=2</em>, <em>interval_max=30</em><big>)</big><a class="headerlink" href="#celery.utils.retry_over_time" title="Permalink to this definition">¶</a></dt>
+<tt class="descclassname">celery.utils.</tt><tt class="descname">retry_over_time</tt><big>(</big><em>fun</em>, <em>catch</em>, <em>args=</em><span class="optional">[</span><span class="optional">]</span>, <em>kwargs={}</em>, <em>errback=&lt;function &lt;lambda&gt; at 0x21c4a70&gt;</em>, <em>max_retries=None</em>, <em>interval_start=2</em>, <em>interval_step=2</em>, <em>interval_max=30</em><big>)</big><a class="headerlink" href="#celery.utils.retry_over_time" title="Permalink to this definition">¶</a></dt>
 <dd><p>Retry the function over and over until max retries is exceeded.</p>
 <p>For each retry we sleep a for a while before we try again, this interval
 is increased for every retry until the max seconds is reached.</p>

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
searchindex.js


+ 5 - 0
sources/faq.txt

@@ -276,6 +276,11 @@ configuration using the database backend with MySQL:
 
     # Using the database backend.
     CELERY_BACKEND = "database"
+    DATABASE_ENGINE = "mysql" # see Django docs for a description of these.
+    DATABASE_NAME = "mydb"
+    DATABASE_HOST = "mydb.example.org"
+    DATABASE_USER = "myuser"
+    DATABASE_PASSWORD = "mysecret"
 
     # Number of processes that processes tasks simultaneously.
     CELERYD_CONCURRENCY = 8

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác