[mod_python] server shutdown [was] i beg...

Richard Lewis richardlewis at fastmail.co.uk
Fri Aug 18 13:19:41 EDT 2006


On Friday 18 August 2006 19:26, Norman Tindall wrote:
>     Don`t know how about publisher and PSP, but in handler
>     you always can at the end of processing, just before
>     return apache.OK close connection
Yes, but I want to avoid opening and closing the connection to Berkeley DB XML 
for /every/ request as its quite slow to connect. Thats why I open it when 
the server starts and wanted to be able to close it when the server shuts 
down.

R.
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard Lewis
Sonic Arts Research Archive
http://www.sara.uea.ac.uk/
JID: ironchicken at jabber.earth.li
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


More information about the Mod_python mailing list