in document: App Engine will attempt to retry until it succeeds. i do
not think it is necesery.
I think it's intelligent enough.
2010/2/6 saintthor <sain...@gmail.com>:
> 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-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>
i know about eta and X-AppEngine-TaskRetryCount. i think setting a
param is better.
On 2月7日, 下午2时10分, kang <areyouloo...@gmail.com> 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 <nextprash...@gmail.com>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 <eli.jo...@gmail.com> 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 <saintt...@gmail.com> 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 google-a...@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> google-appengi...@googlegroups.com<google-appengine%2Bunsu...@googlegroups.com>
> >>> .
> >>> 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 google-a...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-appengi...@googlegroups.com<google-appengine%2Bunsu...@googlegroups.com>
> >> .
> >> 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 google-a...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengi...@googlegroups.com<google-appengine%2Bunsu...@googlegroups.com>
Why is there a retry at all I wonder? I burned up my whole CPU quota
yesterday, not realizing the task queue was retrying tasks over and
over, which were getting deadline exceeded errors.
On Feb 9, 9:40 pm, saintthor <saintt...@gmail.com> wrote:
> thank you all.
>
> i know about eta and X-AppEngine-TaskRetryCount. i think setting a
> param is better.
>
> On 2月7日, 下午2时10分, kang <areyouloo...@gmail.com> wrote:
>
> > So we can get the already retried times and limit theretrytimes by
> > ourself. Thanks.
>
> > On Sun, Feb 7, 2010 at 12:30 AM, Prashant Gupta <nextprash...@gmail.com>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 <eli.jo...@gmail.com> wrote:
>
> > >> When you add thetask.. just use eta argument to set the time you want it
> > >> done by.. and then pass that time to thetaskin the params as 'eta'.
>
> > >> Then, when thetaskstarts running.. have a check the compares the current
> > >> datetime to the 'eta' param.. if the 'eta' is greater than the current
> > >> datetime.. then have theTask"succeed" by doing nothing.
>
> > >> On Sat, Feb 6, 2010 at 3:02 AM, saintthor <saintt...@gmail.com> wrote:
>
> > >>> if not, i sugest a param to set it.
>
> > >>> in document: App Engine will attempt toretryuntil it succeeds. i do
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.