[google-appengine] how to prevent tasks to retry?

2014-04-05 Thread saintthor
sevral years before, i used the taskqueue like:

 taskqueue.add( url='/zzz', method = GET, countdown = 6 )


now, i want to make the task do not retry for exception. i want to add some 
keywords in the 'add' function. but i can not find it in the document.


in document, there is only: add(task, transactional=False)


where is the style i used before?

-- 
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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: how to prevent tasks to retry?

2014-04-05 Thread timh
For starters trap any exception, and make sure you return a 200 exit code. 
 This includes trapping things like DeadlineExceededError.

T

On Saturday, April 5, 2014 5:41:36 PM UTC+8, saintthor wrote:

 sevral years before, i used the taskqueue like:

 taskqueue.add( url='/zzz', method = GET, countdown = 6 )


 now, i want to make the task do not retry for exception. i want to add 
 some keywords in the 'add' function. but i can not find it in the document.


 in document, there is only: add(task, transactional=False)


 where is the style i used before?


-- 
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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: how to prevent tasks to retry?

2014-04-05 Thread saintthor
thank. i have found the discription for the add func.

在 2014年4月5日星期六UTC+8下午8时26分53秒,timh写道:

 For starters trap any exception, and make sure you return a 200 exit code. 
  This includes trapping things like DeadlineExceededError.

 T

 On Saturday, April 5, 2014 5:41:36 PM UTC+8, saintthor wrote:

 sevral years before, i used the taskqueue like:

 taskqueue.add( url='/zzz', method = GET, countdown = 6 )


 now, i want to make the task do not retry for exception. i want to add 
 some keywords in the 'add' function. but i can not find it in the document.


 in document, there is only: add(task, transactional=False)


 where is the style i used before?



-- 
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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.