I'm following the steps explained in [1] trying to have my tasks run on
backend instances. I created 3 backend instances and I can see them in the
dashboard. However, when I run this code to insert a task, I'm getting an
error:
* taskqueue.Task(*
* url='/work/smart_poll_bootstrap',*
* params=dict(sequence=name, poll_type=poll_type, end_time=end_time),*
* target='bootstrap',*
* ).add(POLLING_QUEUE, transactional=True)*
The error I'm getting is:
*TypeError: Invalid arguments: target*
When I remove the "target" parameter, it works (but obviously doesn't go
to the backend instances). I also tried values of "1.bootstrap" and got the
same error. This is my backends.yaml file:
*backends:*
*- name: bootstrap*
* class: B1*
* instances: 3*
* options: dynamic*
Anyone see a problem in the code above? This is failing in both, dev and
production.
Thanks,
Waleed
[1]
http://code.google.com/appengine/docs/python/taskqueue/overview-push.html#Push_Queues_and_Backends
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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?hl=en.