thank you all. i know about eta and X-AppEngine-TaskRetryCount. i think setting a param is better.
On 2月7日, 下午2时10分, kang <[email protected]> wrote: > 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 <[email protected]>wrote: > > > > > you can check for X-AppEngine-TaskRetryCount in your code. > > >http://code.google.com/appengine/docs/java/taskqueue/overview.html#Ta... > > > On 6 February 2010 21:24, Eli Jones <[email protected]> wrote: > > >> 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.. then have the Task "succeed" by doing nothing. > > >> On Sat, Feb 6, 2010 at 3:02 AM, saintthor <[email protected]> wrote: > > >>> 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 [email protected]. > >>> To unsubscribe from this group, send email to > >>> [email protected]<google-appengine%[email protected]> > >>> . > >>> 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 [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]<google-appengine%[email protected]> > >> . > >> 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 [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-appengine%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. > > -- > Stay hungry,Stay foolish. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
