mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
update doc
This commit is contained in:
parent
5f5b67da96
commit
d3c26c8aa6
@ -23,16 +23,12 @@ Example gunicorn.conf.py
|
|||||||
proc_name = None # Change the process name
|
proc_name = None # Change the process name
|
||||||
tmp_upload_dir = None # Set path used to store temporary uploads
|
tmp_upload_dir = None # Set path used to store temporary uploads
|
||||||
|
|
||||||
def after_fork(server, worker):
|
after_fork=lambda server, worker: server.log.info(
|
||||||
fmt = "worker=%s spawned pid=%s"
|
"Worker spawned (pid: %s)" % worker.pid),
|
||||||
server.log.info(fmt % (worker.id, worker.pid))
|
|
||||||
|
|
||||||
def before_fork(server, worker):
|
before_fork=lambda server, worker: True,
|
||||||
fmt = "worker=%s spawning"
|
|
||||||
server.log.info(fmt % worker.id)
|
|
||||||
|
|
||||||
def before_exec(server):
|
before_exec=lambda server: server.log.info("Forked child, reexecuting"
|
||||||
serer.log.info("Forked child, reexecuting.")
|
|
||||||
|
|
||||||
Parameter Descriptions
|
Parameter Descriptions
|
||||||
----------------------
|
----------------------
|
||||||
|
|||||||
@ -4,6 +4,12 @@ title: News
|
|||||||
News
|
News
|
||||||
====
|
====
|
||||||
|
|
||||||
|
0.6.4 / 2010-03-08
|
||||||
|
------------------
|
||||||
|
|
||||||
|
- Use cStringIO when it's possible (use less CPU and faster)
|
||||||
|
- Fix worker freeze when a remote connexion close unexpectedly.
|
||||||
|
|
||||||
0.6.3 / 2010-03-07
|
0.6.3 / 2010-03-07
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|||||||
@ -4,4 +4,4 @@
|
|||||||
# See the NOTICE for more information.
|
# See the NOTICE for more information.
|
||||||
|
|
||||||
|
|
||||||
__version__ = "0.6.3"
|
__version__ = "0.6.4"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user