Are you seeing this on the dev server or in production? I vaguely recall reading somewhere that the dev server always executes immediately(??).
James On Apr 22, 4:21 pm, Fabrizio <fht...@gmail.com> wrote: > Hello, > > I need to add a task in the TaskQueue. But I need a small delay before > exectution (2 seconds). I use countdownMillis(long) to delay the > execution. But execution starts immediatelly. I don't understand if > my code is wrong or if there is a problem with countdownMillis. > > My code is: > > Queue queue = QueueFactory.getQueue(queueName); > TaskOptions taskOpts = TaskOptions.Builder.url(url); > taskOpts.countdownMillis(delay); > taskOpts.method(Method.GET); > queue.add(taskOpts); > > Thank you for help > > fabrizio > > -- > 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 google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-appengine-java?hl=en. -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.