Browse Source

Autogenerated documentation for github.

Ask Solem 16 years ago
parent
commit
638d58aa68
5 changed files with 8 additions and 6 deletions
  1. 2 2
      introduction.html
  2. 3 1
      reference/celery.task.html
  3. 1 1
      reference/index.html
  4. 0 0
      searchindex.js
  5. 2 2
      sources/introduction.txt

+ 2 - 2
introduction.html

@@ -130,7 +130,7 @@ $ python setup.py build
 <div class="section" id="using-the-development-version">
 <h3>Using the development version<a class="headerlink" href="#using-the-development-version" title="Permalink to this headline">¶</a></h3>
 <p>You can clone the repository by doing the following:</p>
-<div class="highlight-python"><pre>$ git clone git@github.com:ask/celery.git celery</pre>
+<div class="highlight-python"><pre>$ git clone git://github.com/ask/celery.git celery</pre>
 </div>
 </div>
 </div>
@@ -165,7 +165,7 @@ $ rabbitmqctl map_user_vhost myuser myvhost</pre>
 <li><dl class="first docutils">
 <dt>Configure celery to use the AMQP user and virtual host we created</dt>
 <dd><p class="first">before, by adding the following to your <tt class="docutils literal"><span class="pre">settings.py</span></tt>:</p>
-<div class="last highlight-python"><div class="highlight"><pre><span class="n">AMQP_HOST</span> <span class="o">=</span> <span class="s">&quot;localhost&quot;</span>
+<div class="last highlight-python"><div class="highlight"><pre><span class="n">AMQP_SERVER</span> <span class="o">=</span> <span class="s">&quot;localhost&quot;</span>
 <span class="n">AMQP_PORT</span> <span class="o">=</span> <span class="mf">5672</span>
 <span class="n">AMQP_USER</span> <span class="o">=</span> <span class="s">&quot;myuser&quot;</span>
 <span class="n">AMQP_PASSWORD</span> <span class="o">=</span> <span class="s">&quot;mypassword&quot;</span>

+ 3 - 1
reference/celery.task.html

@@ -480,7 +480,7 @@ celery server(s).</dd></dl>
 
 <dl class="function">
 <dt id="celery.task.apply_async">
-<tt class="descclassname">celery.task.</tt><tt class="descname">apply_async</tt><big>(</big><em>task</em>, <em>args=None</em>, <em>kwargs=None</em>, <em>routing_key=None</em>, <em>immediate=None</em>, <em>mandatory=None</em>, <em>connect_timeout=None</em>, <em>priority=None</em><big>)</big><a class="headerlink" href="#celery.task.apply_async" title="Permalink to this definition">¶</a></dt>
+<tt class="descclassname">celery.task.</tt><tt class="descname">apply_async</tt><big>(</big><em>task</em>, <em>args=None</em>, <em>kwargs=None</em>, <em>routing_key=None</em>, <em>immediate=None</em>, <em>mandatory=None</em>, <em>connection=None</em>, <em>connect_timeout=None</em>, <em>priority=None</em><big>)</big><a class="headerlink" href="#celery.task.apply_async" title="Permalink to this definition">¶</a></dt>
 <dd><p>Run a task asynchronously by the celery daemon(s).</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -497,6 +497,8 @@ server.</li>
 if the task cannot be routed to a worker immediately.</li>
 <li><em>mandatory</em> &#8211; Mandatory routing. Raises an exception if there&#8217;s
 no running workers able to take on this task.</li>
+<li><em>connection</em> &#8211; Re-use existing AMQP connection.
+The <tt class="docutils literal"><span class="pre">connect_timeout</span></tt> argument is not respected if this is set.</li>
 <li><em>connect_timeout</em> &#8211; The timeout in seconds, before we give up
 on establishing a connection to the AMQP server.</li>
 <li><em>priority</em> &#8211; The task priority, a number between <tt class="docutils literal"><span class="pre">0</span></tt> and <tt class="docutils literal"><span class="pre">9</span></tt>.</li>

+ 1 - 1
reference/index.html

@@ -56,7 +56,7 @@
 <tbody valign="top">
 <tr class="field"><th class="field-name">Release:</th><td class="field-body">0.3</td>
 </tr>
-<tr class="field"><th class="field-name">Date:</th><td class="field-body">June 13, 2009</td>
+<tr class="field"><th class="field-name">Date:</th><td class="field-body">June 14, 2009</td>
 </tr>
 </tbody>
 </table>

File diff suppressed because it is too large
+ 0 - 0
searchindex.js


+ 2 - 2
sources/introduction.txt

@@ -100,7 +100,7 @@ Using the development version
 
 You can clone the repository by doing the following::
 
-    $ git clone git@github.com:ask/celery.git celery
+    $ git clone git://github.com/ask/celery.git celery
 
 
 Usage
@@ -144,7 +144,7 @@ You only need three simple steps to use celery with your Django project.
     3. Configure celery to use the AMQP user and virtual host we created
         before, by adding the following to your ``settings.py``::
 
-            AMQP_HOST = "localhost"
+            AMQP_SERVER = "localhost"
             AMQP_PORT = 5672
             AMQP_USER = "myuser"
             AMQP_PASSWORD = "mypassword"

Some files were not shown because too many files changed in this diff