Hi,

I have a GAE app with two modules, default and "background". My 
dispatch.yaml file says:

dispatch:

  - url: "*/cron/*"

    module: background

  - url: "*/_ah/queue/deferred"

    module: background

  - url: "*/background_tasks/*"

    module: background


When I enter a "http://MYHOST/background_tasks/XXX"; from my web browser, 
the task is indeed handled by the "background" module.


However, when the task is run from within my app:

taskqueue.add(url="/background_tasks/XXX"), queue_name="YYY")


The task is handled by the default module (I've verified this by looking at 
the GAE logs in Dev Console for each of the two modules separately).


Can someone please help me understand why this discrepancy?


Thanks,

Kirill

-- 
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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e26a9c44-1ad4-4017-8a30-783e4360097c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to