If I am pushing to the Google App Engine Task Queue like that...


Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.withUrl(“/url/path“).param(“number”, 
10)).etaMillis(absoluteTime);


...will it then hold all the future normal pushes without etaMillis until 
the absoluteTime is reached?

If yes, what if I wanted first to push something to be executed in 20 
minutes and then push something to be executed immediately? Given that we 
cannot create queues in queue.xml file programmatically, meaning that we 
cannot create parallel queues in runtime, does it mean that it's better to 
schedule tasks with cron 
<https://cloud.google.com/appengine/docs/java/config/cron> rather than 
using etaMillis?


OP in Stackoverflow 
<http://stackoverflow.com/questions/41638806/does-queue-pushes-with-etamillis-hold-subsequent-normal-pushes-in-google-app-eng>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a222cb10-399c-40a9-8491-709456ffdf5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to