mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
sync
This commit is contained in:
parent
954fcae167
commit
cfee2d480f
@ -80,6 +80,8 @@ after_fork=lambda server, worker: server.log.info(
|
||||
before_fork=lambda server, worker: True
|
||||
|
||||
before_exec=lambda server: server.log.info("Forked child, reexecuting")
|
||||
|
||||
when_ready=lambda server: server.log.info("Gunicorn started.")
|
||||
</pre>
|
||||
</div>
|
||||
<div class="section" id="parameter-descriptions">
|
||||
@ -135,6 +137,8 @@ installed. This alters the process names listed by commands like <tt class="docu
|
||||
<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>
|
||||
|
||||
@ -49,27 +49,20 @@
|
||||
|
||||
<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"><string></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>
|
||||
@ -78,7 +71,7 @@ are forked.</li>
|
||||
<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
|
||||
@ -86,7 +79,7 @@ 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>
|
||||
@ -94,13 +87,13 @@ to set the type of request processing to use</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>
|
||||
@ -110,28 +103,28 @@ to set the type of request processing to use</li>
|
||||
<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>
|
||||
@ -142,7 +135,7 @@ temporary data.</li>
|
||||
<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>
|
||||
@ -150,7 +143,7 @@ temporary data.</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>
|
||||
@ -158,14 +151,14 @@ temporary data.</li>
|
||||
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>
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
template: index.html
|
||||
title: Welcome
|
||||
|
||||
Green Unicorn
|
||||
=============
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user