On Thu, Jun 25, 2009 at 4:48 PM, afrobeard <afrobe...@gmail.com> wrote:

>
> Thanks for the reply Alex, however I beleive I might have
> miscommunicated the problem a big. The actual format of the daemon is
> somewhat like this:-
>
> 1while True:
> 2    rs = Inqueue.objects.filter(processed = 0).order_by('-timestamp')
> 3    for item in rs:
> 4.1          processitem(item)
> 4.2          item.delete()
> 5    sleep
>

What database are you using?  This sounds more like a transaction isolation
problem than a caching issue.

Karen

--~--~---------~--~----~------------~-------~--~----~
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