====== GAE任务队列(Task Queue)应用 ====== ===== 配置队列 ===== queue.yaml total_storage_limit: 120M queue: - name: large rate: 10/s ===== 添加任务===== from google.appengine.api import taskqueue q = taskqueue.Queue('large') t = taskqueue.Task(url='/large', params={'pic_url': pic_path}, target='large') q.add(t)