Hello Tony, You are right, the shortest formulation for lease in this context is the one you wrote: get a task and then run it. There are still some other important elements to this: leasing a task makes it unavailable for processing by another worker, and it remains unavailable until the lease expires. This is an important aspect: no other worker has access to the task that was leased, not until this lease expires. It follows, as expected, that once a worker completes a task, it needs to delete the task from the queue.
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/75a1eadb-e8fa-4d52-8e22-ae25745cc41f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.