On Jun 11, 12:17 am, Carl Karsten <[EMAIL PROTECTED]> wrote:
> I sense a race condition:
>

We are only deleting images older than 30 minutes - if a user takes
THAT long for a captcha, he has to enter a new captcha. This is
desired behaviour.

I do not like the whole "delete all old images" all the time. I'll
probably add a parameter to CaptchaField, so the programmer can choose
whether or not s/he wants this behaviour.

Maybe I will give the "sleep 30" method a thorough test - from the
software design point of view I still like this method the most.

Martin


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to