We use a global variable to gate multiple initializations. We're seeing multiple initializations in the log file. Instead of our own gate, leverage WSGI by putting one-time initialization in the .wsgi file, which is loaded once per the documentation. That's the right way to do this according to Graham Dumpleton, the mod_wsgi developer.
We use a global variable to gate multiple initializations. We're seeing multiple initializations in the log file. Instead of our own gate, leverage WSGI by putting one-time initialization in the .wsgi file, which is loaded once per the documentation. That's the right way to do this according to Graham Dumpleton, the mod_wsgi developer.