Debugging Channel API Appengine
问题 I'm using the appengine channel api(with deferred tasks) but it doesn't seem to be working. Here's my server code in a gist: Class Handler(webapp2.RequestHandler): def get(self): path = jinja_environment.get_template('templates/new_console.html') token = channel.create_channel('some_key') # Deferring the task. deferred.defer(_task, token) args = {} args['token'] = token self.response.out.write(path.render(args)) def _task(token): FeedbackThreadModel(id='id').put() time.sleep(60) channel.send