Adrian Holovaty wrote: >Django has closed the database connection on every request for as long >as I remember. The very first open-source version had it -- >http://code.djangoproject.com/browser/django/tags/notable_moments/ipo/django/core/handler.py#L32 >-- and we had that db.db.close() for every request for months (if not >years) before we open-sourced the system. > > Thanks, Adrian, that was what I was trying to say :-).
I just want to add a little note. In a ticket 900 to resolve threading issues I've made a patch that really kept open connection closing it only when all threads would leave it. And this was really a bit faster than a general solution which we have now (and which I support as a simpler solution). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---