[google-appengine] can i set the max retry times for task in quene?

2010-02-06 Thread saintthor
if not, i sugest a param to set it. in document: App Engine will attempt to retry until it succeeds. i do not think it is necesery. -- 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-appeng...@googl

Re: [google-appengine] can i set the max retry times for task in quene?

2010-02-06 Thread 风笑雪
If retried more than 10 times, the next execution time will be put off. Maybe 10 minutes for the 11th retring, half an hour for the 12th, etc. I think it's intelligent enough. 2010/2/6 saintthor : > if not, i sugest a param to set it. > > in document: App Engine will attempt to retry until it suc

Re: [google-appengine] can i set the max retry times for task in quene?

2010-02-06 Thread Eli Jones
When you add the task.. just use eta argument to set the time you want it done by.. and then pass that time to the task in the params as 'eta'. Then, when the task starts running.. have a check the compares the current datetime to the 'eta' param.. if the 'eta' is greater than the current datetime

Re: [google-appengine] can i set the max retry times for task in quene?

2010-02-06 Thread Prashant Gupta
you can check for X-AppEngine-TaskRetryCount in your code. http://code.google.com/appengine/docs/java/taskqueue/overview.html#Task_Request_Headers On 6 February 2010 21:24, Eli Jones wrote: > When you add the task.. just use eta argument to set the time you want it > done by.. and then pass tha

Re: [google-appengine] can i set the max retry times for task in quene?

2010-02-06 Thread kang
So we can get the already retried times and limit the retry times by ourself. Thanks. On Sun, Feb 7, 2010 at 12:30 AM, Prashant Gupta wrote: > you can check for X-AppEngine-TaskRetryCount in your code. > > > http://code.google.com/appengine/docs/java/taskqueue/overview.html#Task_Request_Headers >