I am experimenting with several GAE features.
I created a Dynamic Backend, but I have several problems that allow this work to work without task queues
Base Code:
class StartHandler(webapp2.RequestHandler): def get(self):
The backend is dynamic. Therefore, whenever he receives a call, he does it and then stops.
Everything works great when I use inside my handlers:
url = backends.get_url('worker') + '/_ah/start' urlfetch.fetch(url)
But I want this call to be async due to the fact that it may take up to 10 minutes to complete Backend.
So I changed the code above:
url = backends.get_url('worker') + '/_ah/start' rpc = urlfetch.create_rpc() urlfetch.make_fetch_call(rpc, url)
But then the backend does not start. I am not interested in completing a request or getting any data from it.
What am I missing - are you implementing it incorrectly?
Thank you all
source share