Hi, Trying to make Django to use really only ONE connection to ONE
process (like 1000 Threads using 1 connection) I've altered postgresql
backend at base.py. The beta (aka bugged) version is here:
http://pastebin.com/808647
My question is if this alteration (turn the connection variable to be a
Class-attribute instead of Instance-attribute) would generate some
problem in the future.
ps.: I know that I don't close connection, but this is not my major problem
ps2.:
I need this a lot becouse I'm using FreeBSD, and it start only 50
connections simultaneously, but my system use 100+ connection alive
--
SDM Underlinux
Garimpar.com
--
PEP-8
Só existem 3 tipos de pessoas no mundo, as que sabem contar, e as que não sabem.
CPFL - Compania Piratininga de FALTA de Luz (6 vezes em 5 dias!!)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---
- Modification in the django.db.backends.postgres... Rafael SDM Sierra
- Re: Modification in the django.db.backends... Mario Gonzalez ( mario__ )
- Re: Modification in the django.db.back... Rafael SDM Sierra
- Re: Modification in the django.db.backends... Niels
- Re: Modification in the django.db.back... Rafael SDM Sierra
