Hi ,
I have a chained task which runs every 1 second(Still wondering how can i
run it every 3 seconds)
Task code is something like this
try{
            //Do something
           //read data store and update datastore
        }catch(Throwable ex){
            logger.log(Level.Sever,ex.getMessage(),ex);
        }finally{
            //add next task to queue to be run next
            Queue queue = QueueFactory.getQueue("queuename");

queue.add(TaskOptions.Builder.withUrl("/tasks/mytask/"+auctionId).method(Method.GET));
        }

Now i expect that one task will be finished and next will be added to the
queue. 2 days back i found 4-5 tasks in the queue i dont know how they got
there

and today i found tasks queue empty. How it can be possible that queue can
get more then 1 task at a time or it can get empty.I still have quota left
for the day.

My App Name is edurectory

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to