You could use the countdown or eta arguments when creating the task. Note, neither is guaranteed to be respected. For example, if your queue gets backed up for some reason you might wind up with a large burst of tasks. http://code.google.com/appengine/docs/python/taskqueue/tasks.html#Task
You could also configure the queue itself to throttle the rate. You may want to use a combination of countdown (or eta) and adjusting the queue rates / concurrent task values. http://code.google.com/appengine/docs/python/config/queue.html#Defining_Queues_and_Processing_Rates One comment on "Any subsequent tasks added with the same name within that minute would be rejected." It will be around a week before you'll be able to reuse a name for a new task. http://code.google.com/appengine/docs/python/taskqueue/overview.html#Worker_URLs_and_Task_Names Robert On Thu, Feb 17, 2011 at 21:54, Seven Days <fux...@gmail.com> wrote: > I am trying to throttle the amount that a particular task occurs by delaying > the task for around one minute. > Any subsequent tasks added with the same name within that minute would be > rejected (I know how to do this part). > > Do you know how I can achieve this? > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.