Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed May 24, 2010
1 parent 954fcae commit cfee2d4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
4 changes: 4 additions & 0 deletions doc/htdocs/configuration.html
Expand Up @@ -80,6 +80,8 @@ <h1>Example gunicorn.conf.py</h1>
before_fork=lambda server, worker: True

before_exec=lambda server: server.log.info(&quot;Forked child, reexecuting&quot;)

when_ready=lambda server: server.log.info(&quot;Gunicorn started.&quot;)
</pre>
</div>
<div class="section" id="parameter-descriptions">
Expand Down Expand Up @@ -135,6 +137,8 @@ <h1>Parameter Descriptions</h1>
<dd>Used to set the umask when daemonizing.</dd>
<dt>user:</dt>
<dd>The user as which worker processes will by launched.</dd>
<dt>when_ready(server):</dt>
<dd>This is called by the arbiter just after Gunicorn started.</dd>
<dt>worker_connections:</dt>
<dd>Number of simultaneous connections a worker can handle when used with
Eventlet or Gevent arbiter. The default is 1000.</dd>
Expand Down
41 changes: 17 additions & 24 deletions doc/htdocs/news.html
Expand Up @@ -49,27 +49,20 @@ <h1 class="logo"><a href="http://gunicorn.org">gunicorn</a></h1>

<div class="document" id="news">
<h1 class="title">News</h1>
<div class="section" id="dev-2010-05-17">
<h1>0.9.0-dev / 2010-05-17</h1>
<div class="system-message">
<p class="system-message-title">System Message: WARNING/2 (<tt class="docutils">&lt;string&gt;</tt>, line 5)</p>
<p>Title underline too short.</p>
<pre class="literal-block">
0.9.0-dev / 2010-05-17
------------------
</pre>
</div>
<div class="section" id="id1">
<h1>0.9.0 2010-05-22</h1>
<ul class="simple">
<li>Added <em>when_ready</em> hook. Called just after the server is started</li>
<li>Added <em>preload</em> setting. Load application code before the worker processes
are forked.</li>
<li>Refactored Config</li>
<li>Fix pidfile</li>
<li>Fix QUIT/HUP in async workers</li>
<li>Fix reexec</li>
<li>Documentation improvments</li>
<li>Documentation improvements</li>
</ul>
</div>
<div class="section" id="id1">
<div class="section" id="id2">
<h1>0.8.1 / 2010-04-29</h1>
<ul class="simple">
<li>Fix builtins import in config</li>
Expand All @@ -78,29 +71,29 @@ <h1>0.8.1 / 2010-04-29</h1>
<li>Delay application loading until after processing all configuration</li>
</ul>
</div>
<div class="section" id="id2">
<div class="section" id="id3">
<h1>0.8.0 / 2010-04-22</h1>
<ul class="simple">
<li>Refactored Worker management for better async support. Now use the -k option
to set the type of request processing to use</li>
<li>Added support for <a class="reference external" href="http://www.tornadoweb.org/">Tornado</a></li>
</ul>
</div>
<div class="section" id="id3">
<div class="section" id="id4">
<h1>0.7.2 / 2010-04-15</h1>
<ul class="simple">
<li>Added --spew option to help debugging (installs a system trace hook)</li>
<li>Some fixes in async arbiters</li>
<li>Fix a bug in start_response on error</li>
</ul>
</div>
<div class="section" id="id4">
<div class="section" id="id5">
<h1>0.7.1 / 2010-04-01</h1>
<ul class="simple">
<li>Fix bug when responses have no body.</li>
</ul>
</div>
<div class="section" id="id5">
<div class="section" id="id6">
<h1>0.7.0 / 2010-03-26</h1>
<ul class="simple">
<li>Added support for <a class="reference external" href="http://eventlet.net">Eventlet</a> and <a class="reference external" href="http://gevent.org">Gevent</a> based workers.</li>
Expand All @@ -110,28 +103,28 @@ <h1>0.7.0 / 2010-03-26</h1>
<li>Fix <a class="reference external" href="http://www.python.org/dev/peps/pep-0333/">PEP 333</a> compliance for the write callable.</li>
</ul>
</div>
<div class="section" id="id6">
<div class="section" id="id7">
<h1>0.6.5 / 2010-03-11</h1>
<ul class="simple">
<li>Fix pidfile handling</li>
<li>Fix Exception Error</li>
</ul>
</div>
<div class="section" id="id7">
<div class="section" id="id8">
<h1>0.6.4 / 2010-03-08</h1>
<ul class="simple">
<li>Use cStringIO for performance when possible.</li>
<li>Fix worker freeze when a remote connection closes unexpectedly.</li>
</ul>
</div>
<div class="section" id="id8">
<div class="section" id="id9">
<h1>0.6.3 / 2010-03-07</h1>
<ul class="simple">
<li>Make HTTP parsing faster.</li>
<li>Various bug fixes</li>
</ul>
</div>
<div class="section" id="id9">
<div class="section" id="id10">
<h1>0.6.2 / 2010-03-01</h1>
<ul class="simple">
<li>Added support for chunked response.</li>
Expand All @@ -142,30 +135,30 @@ <h1>0.6.2 / 2010-03-01</h1>
<li>Workers are now murdered by age (the oldest is killed first).</li>
</ul>
</div>
<div class="section" id="id10">
<div class="section" id="id11">
<h1>0.6.1 / 2010-02-24</h1>
<ul class="simple">
<li>Added gunicorn config file support for Django admin command</li>
<li>Fix gunicorn config file. -c was broken.</li>
<li>Removed TTIN/TTOU from workers which blocked other signals.</li>
</ul>
</div>
<div class="section" id="id11">
<div class="section" id="id12">
<h1>0.6 / 2010-02-22</h1>
<ul class="simple">
<li>Added setproctitle support</li>
<li>Change privilege switch behavior. We now work like NGINX, master keeps the
permissions, new uid/gid permissions are only set for workers.</li>
</ul>
</div>
<div class="section" id="id12">
<div class="section" id="id13">
<h1>0.5.1 / 2010-02-22</h1>
<ul class="simple">
<li>Fix umask</li>
<li>Added Debian packaging</li>
</ul>
</div>
<div class="section" id="id13">
<div class="section" id="id14">
<h1>0.5 / 2010-02-20</h1>
<ul class="simple">
<li>Added <a class="reference external" href="configuration.html">configuration file</a> handler.</li>
Expand Down
1 change: 1 addition & 0 deletions doc/site/index.rst
@@ -1,4 +1,5 @@
template: index.html
title: Welcome

Green Unicorn
=============
Expand Down

0 comments on commit cfee2d4

Please sign in to comment.