I'm not aware of an 'easy' way to set an RPC deadline for a task insert. I think you could probably setup an RPC and make the add call yourself though. http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/api/taskqueue/taskqueue.py#752
I occasionally see issues inserting tasks, but 99% of the time it is a TransientError and will succeed on retry. You might try catching the error on task insert once and retrying it. Robert On Thu, Feb 24, 2011 at 04:58, Dmitry <[email protected]> wrote: > I lowered rpc deadline to 3 seconds... but transaction still fails after 30 > seconds. > It seems that taskqueue.Task().add(..., transactional=True) causes this. > > I also noticed that my errors are exactly during Task latency pikes > http://code.google.com/status/appengine/detail/taskqueue/2011/02/23#ae-trust-detail-taskqueue-add-latency > > Can I lower deadline for task.add() function to prove this theory? > > -- > 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. > -- 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.
