[uWSGI] Sharing connection to socket.io?
szymon at mwg.pl
Wed Jul 20 19:36:00 CEST 2011
2011/7/20 Roberto De Ioris <roberto at unbit.it>:
> Looks like you can make a connection at the startup of your app and reuse it in each requests, but you will need to send a 'keepalive/ping' packet to leave it open.
But how can I access such connection ie. in Django? Best way would be
to create socket in WSGI file and then have access to it in Django.
How can I achieve that? I mean that part with accessing it in Django.
More information about the uWSGI