云任务说:
App Engine 强制执行的处理速率低于此队列的最大速率,这可能是因为您的应用程序正在返回 HTTP 503 代码,或者是因为当前没有可用于执行请求的实例。
但是,我使用 HTTP POST 请求将任务转发到云函数,类似于本教程中概述的请求。我的日志中没有看到它转发到的云功能的任何 503。
我queue.yaml
的是:
queue:
- name: task-queue-1
rate: 3/s
bucket_size: 500
max_concurrent_requests: 100
retry_parameters:
task_retry_limit: 1
min_backoff_seconds: 120
task_age_limit: 7d