#11499: The default clean session will certainly not work with a huge session
database
--------------------------------------+-------------------------------------
Reporter: batiste | Owner: nobody
Status: closed | Milestone: 1.2
Component: django-admin.py | Version: SVN
Resolution: invalid | Keywords: cleanup, session
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by JohnDoe):
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
Maybe you SHOULD have looked at the one in django-admin, because it is
quite a bit more efficient than the one you got running there and is
actually doing it the proper way.
What is does is just tell the database to delete any data older than
expire_date instead of loading it all into python and parsing it like
you're doing.
--
Ticket URL: <http://code.djangoproject.com/ticket/11499#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---