Suppose I create a new queue in my queue.yaml
file as:
queue:
- name: my_queue
What would be the equivalent queue with all parameters specified?
Here's what I could gather from the docs so far.
queue:
- name: my_queue
mode: push
bucket_size: 5
target: <the same version that enqueued the task>
rate: ???
max_concurrent_requests: ???
retry_parameters:
task_retry_limit: ???
task_age_limit: ???
min_backoff_seconds: ???
max_backoff_seconds: ???
max_doublings: ???
Can you help me fill in the gaps?
My best stab at this is
The rate is documented here.
The rest of the numbers I got from taskqueue_service_pb.py, which you will find in the python SDK, where there is a class called
TaskQueueRetryParameters
, which looks like this:task_retry_limit
andtask_age_limit
are set to 0 - in other words, there is no limit. Same formax_concurrent_requests
, which is defined in another class calledTaskQueueUpdateQueueRequest
.