I figured out how to get it working but it is not making sense to me 
intuitively
I basically moved my py file contents to my wsgi file and took out my def 
application and instead included my connexion and add_api calls directly in 
it and ended it with application=app.app instead of a return and it works 
now:

app = connexion.App(__name__, specification_dir='./')
app.add_api(...)
...
application = app.app

It loads the amount of processes I have configured in my ssl.conf  
(WSGIDaemonProcess ... processes=5) and it does not re-execute the add_api 
calls over and over after the first 5 requests are executed and those 
processes are loaded.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/e01a31a3-3934-4ef0-a7ef-11cad0437febn%40googlegroups.com.

Reply via email to