This is somehow similar how I got rid of the tasks. But it would be much better if there would be a "delete all" button on the admin page. Would be cool for all other entities in the datastore as well ;-)
On 19 Okt., 12:29, bsb <[email protected]> wrote: > I'm afraid there's no way to delete tasks. The way I solve this in my > app is to have a QueueControl object for each task. This is checked > before the task starts. If emptyQueue == True, then the task just > finishes without processing. I can then just edit that object in the > data viewer and set emptyQueue to True if I need to flush the queues. > > I suppose you could add such an object and modify your task methods > accordingly. The changes will take effect when new tasks execute. > > On Oct 18, 6:42 pm, dflorey <[email protected]> wrote: > > > > > Is there a way to delete all tasks from a queue? Due to I bug I've > > 50000 tasks in a queue and this is killing even my paid quota CPU > > resources. > > I assume that tasks are stored in a hidden table. I've already tried > > with __tasks__ etc. but did not manage to guess the right name. > > Is there a way to delete all tasks? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
