Hi,

I profiled my application and discovered, that it spends
a lot of time in _cull() and get_num_entries() in the file
cache backend.

It is very easy to have a cron job which cleans the directory
by deleting all files older than N minutes. There is no need to cull during
request time.

I suggest that if you set max_entries to zero, _cull() is not called.

Before I open a ticket, I ask for feedback.

Anyone?

 Thomas


-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to