The documentation for the Task Queue target parameter for Python (
https://developers.google.com/appengine/docs/python/config/queue#target) 
states the following:

target (push queues only)
>
> The version of your application (including backends) on which the tasks in 
> this queue will be invoked.
>
> If unspecified, then tasks are invoked on the same version of the 
> application where they were enqueued. So, if you enqueued a task from the 
> default application version without specifying a target on the queue, the 
> task is invoked in the default application version. You can specify a 
> backend as your target.
>
What happens in the following scenario:
I have an app with version '12' as the default version and enqueue a task 
without using the target parameter.
I then change the default version to '13' before the task has executed.

Will the task execute on version '12' even though it is no longer the 
default version or will it execute on '13'? I believe it will still execute 
on version '12' but the documentation seems a bit ambiguous.

I would test on the SDK (v1.7.7) but using the target parameter has started 
producing errors queuing tasks with my current code so I have had to remove 
it.

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to