From cfee2d480faed6f6db792c24baa9a8ec7a5afdff Mon Sep 17 00:00:00 2001 From: benoitc Date: Mon, 24 May 2010 09:09:53 +0200 Subject: [PATCH] sync --- doc/htdocs/configuration.html | 4 ++++ doc/htdocs/news.html | 41 +++++++++++++++-------------------- doc/site/index.rst | 1 + 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/doc/htdocs/configuration.html b/doc/htdocs/configuration.html index dbacd2ea2..9b28d1976 100644 --- a/doc/htdocs/configuration.html +++ b/doc/htdocs/configuration.html @@ -80,6 +80,8 @@

Example gunicorn.conf.py

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.")
@@ -135,6 +137,8 @@

Parameter Descriptions

Used to set the umask when daemonizing.
user:
The user as which worker processes will by launched.
+
when_ready(server):
+
This is called by the arbiter just after Gunicorn started.
worker_connections:
Number of simultaneous connections a worker can handle when used with Eventlet or Gevent arbiter. The default is 1000.
diff --git a/doc/htdocs/news.html b/doc/htdocs/news.html index fc80afdfa..dbe5f9ba6 100644 --- a/doc/htdocs/news.html +++ b/doc/htdocs/news.html @@ -49,27 +49,20 @@

gunicorn

News

-
-

0.9.0-dev / 2010-05-17

-
-

System Message: WARNING/2 (<string>, line 5)

-

Title underline too short.

-
-0.9.0-dev / 2010-05-17
-------------------
-
-
+
+

0.9.0 2010-05-22

    +
  • Added when_ready hook. Called just after the server is started
  • Added preload setting. Load application code before the worker processes are forked.
  • Refactored Config
  • Fix pidfile
  • Fix QUIT/HUP in async workers
  • Fix reexec
  • -
  • Documentation improvments
  • +
  • Documentation improvements
-
+

0.8.1 / 2010-04-29

  • Fix builtins import in config
  • @@ -78,7 +71,7 @@

    0.8.1 / 2010-04-29

  • Delay application loading until after processing all configuration
-
+

0.8.0 / 2010-04-22

  • Refactored Worker management for better async support. Now use the -k option @@ -86,7 +79,7 @@

    0.8.0 / 2010-04-22

  • Added support for Tornado
-
+

0.7.2 / 2010-04-15

  • Added --spew option to help debugging (installs a system trace hook)
  • @@ -94,13 +87,13 @@

    0.7.2 / 2010-04-15

  • Fix a bug in start_response on error
-
+

0.7.1 / 2010-04-01

  • Fix bug when responses have no body.
-
+

0.7.0 / 2010-03-26

  • Added support for Eventlet and Gevent based workers.
  • @@ -110,28 +103,28 @@

    0.7.0 / 2010-03-26

  • Fix PEP 333 compliance for the write callable.
-
+

0.6.5 / 2010-03-11

  • Fix pidfile handling
  • Fix Exception Error
-
+

0.6.4 / 2010-03-08

  • Use cStringIO for performance when possible.
  • Fix worker freeze when a remote connection closes unexpectedly.
-
+

0.6.3 / 2010-03-07

  • Make HTTP parsing faster.
  • Various bug fixes
-
+

0.6.2 / 2010-03-01

  • Added support for chunked response.
  • @@ -142,7 +135,7 @@

    0.6.2 / 2010-03-01

  • Workers are now murdered by age (the oldest is killed first).
-
+

0.6.1 / 2010-02-24

  • Added gunicorn config file support for Django admin command
  • @@ -150,7 +143,7 @@

    0.6.1 / 2010-02-24

  • Removed TTIN/TTOU from workers which blocked other signals.
-
+

0.6 / 2010-02-22

  • Added setproctitle support
  • @@ -158,14 +151,14 @@

    0.6 / 2010-02-22

    permissions, new uid/gid permissions are only set for workers.
-
+

0.5.1 / 2010-02-22

  • Fix umask
  • Added Debian packaging
-
+

0.5 / 2010-02-20

  • Added configuration file handler.
  • diff --git a/doc/site/index.rst b/doc/site/index.rst index f5513bd97..528ea1843 100644 --- a/doc/site/index.rst +++ b/doc/site/index.rst @@ -1,4 +1,5 @@ template: index.html +title: Welcome Green Unicorn =============