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
+
+
0.8.1 / 2010-04-29
diff --git a/doc/site/configuration.rst b/doc/site/configuration.rst
index 6a466464..06dcb784 100644
--- a/doc/site/configuration.rst
+++ b/doc/site/configuration.rst
@@ -39,6 +39,8 @@ Example gunicorn.conf.py
before_exec=lambda server: server.log.info("Forked child, reexecuting")
+ when_ready=lambda server: server.log.info("Gunicorn started.")
+
Parameter Descriptions
----------------------
@@ -107,6 +109,9 @@ umask:
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
diff --git a/doc/site/news.rst b/doc/site/news.rst
index 60a6c447..4ff4f565 100644
--- a/doc/site/news.rst
+++ b/doc/site/news.rst
@@ -4,16 +4,17 @@ title: News
News
====
-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
------------------
diff --git a/gunicorn/__init__.py b/gunicorn/__init__.py
index 23ee4752..95ec059e 100644
--- a/gunicorn/__init__.py
+++ b/gunicorn/__init__.py
@@ -3,5 +3,5 @@
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.
-version_info = (0, 9, '0-dev')
+version_info = (0, 9, 0)
__version__ = ".".join(map(str, version_info))