Hi
I want to use Pyes with django. The problem is that I dont know how to make
a global connection in django so get rid of overhead of openning and
closing the connection.
this is how making connection with pyes:
import pyes
conn = pyes.ES('127.0.0.1:9500')
should I define a global variable(Where
Hi Huseyin,
I have the same problem as Bo but this again did not solve my problem. This
works with django webserver (runserver) but not with gunicorn.
Any Ideas?
Thanks in advance
Mahdi
On Wednesday, May 16, 2012 10:38:39 AM UTC+4:30, huseyin yilmaz wrote:
>
> For development, you could add thi
2 matches
Mail list logo