On Feb 2, 3:01 pm, Graham Dumpleton <[email protected]>
wrote:
>
> In short, don't use embedded mode, use daemon mode instead with each
> application instance getting its own daemon process group. Then use
> one of the documented methods for triggering application reloading.
And, if you want to take your application off line for some time, just
replace its script with something like:
def application(environ, start_response):
""" The WSGI test application """
# emit status / headers
status = "200 OK"
headers = [('Content-Type', 'text/plain'), ]
start_response(status, headers)
content = """The GPC wiki is down for maintenance.
Please come back later.
"""
return [content]
--
Mark Sapiro <[email protected]> Any clod can have the facts;
San Francisco Bay Area, California having opinions is an art. -
C. McCabe, The Fearless Spectator
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en.