问题
I'm trying to use "queue.yaml" to define queues in a Google App Engine app (Java version).
queue:
- name: default
rate: 5/s
- name: availableTicketsAlert
rate: 5/s
- name: billingReminder
rate: 5/s
- name: cseIndexing
mode: pull
When I try to see if they've been created correctly in this URL: /_ah/admin/taskqueue, I only see "default" queue.
Instead, If I try to create the using with the XML file all works correctly (queue.xml):
<queue-entries>
<queue>
<name>default</name>
<rate>5/s</rate>
</queue>
<queue>
<name>availableTicketsAlert</name>
<rate>5/s</rate>
</queue>
<queue>
<name>billingReminder</name>
<rate>5/s</rate>
</queue>
</queue-entries>
Any ideas of what I'm doing wrong?
Do I have to update them manually with: appcfg.py update_queues myapp/ or something like that?
Thanks!
来源:https://stackoverflow.com/questions/11135861/queue-yaml-not-working-in-app-engine-development