Hi, we intensly use tasks in our projects. In our last project we have
several problems with task's fork bomb [a task A enqueue a task B then task
A fails, when it's retried enqueue again task B and so on]
Suppose to have the following java code:
public class Task1 extends HttpServlet{
@Override
public void doPost(HttpServletRequest request, HttpServletResponse
response){
//Datastore reads and writes
Queue queue= QueueFactory.getDefaultQueue();
queue.add(withUrl("/anothertask"));
}
}
We wonder if it's possible that a task's fork bomb can happen in this
exemple.
If yes, we would like to know why it can happen.
P.s: In our project we have a lot of code like this above. We have
encountered the fork bomb when the task throw a deadlineExceededException or
a Datastore Exception
Thanks and sorry for our english :D
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/hmwGCOfyYGEJ.
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.