[google-appengine] Re: Question on LeaseOptions

2019-05-19 Thread 'George (Cloud Platform Support)' via Google App Engine
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 leas

[google-appengine] Re: Question on LeaseOptions

2019-05-20 Thread tonycavanagh1929
Thank you, I just wanted to check that my undestanding was correct. Cheers Tony On Sunday, 19 May 2019 20:12:03 UTC+1, tonycavanagh1929 wrote: > > I am looking at tasks, I am trying to understand what is the purpose > of LeaseOptions > > In the docs it says so > > Once tasks are in a pull queue,