mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-09 12:20:27 -07:00
Change max dispatches from int to double (#138)
Change max dispatches from int to double
This commit is contained in:
commit
cc6db3cbd2
2 changed files with 15 additions and 13 deletions
|
@ -83,9 +83,10 @@ options:
|
||||||
type: str
|
type: str
|
||||||
rate_limits:
|
rate_limits:
|
||||||
description:
|
description:
|
||||||
- 'Rate limits for task dispatches. The queue''s actual dispatch rate is the result
|
- Rate limits for task dispatches.
|
||||||
of: * Number of tasks in the queue * User-specified throttling: rateLimits,
|
- 'The queue''s actual dispatch rate is the result of: * Number of tasks in the
|
||||||
retryConfig, and the queue''s state.'
|
queue * User-specified throttling: rateLimits, retryConfig, and the queue''s
|
||||||
|
state.'
|
||||||
- "* System throttling due to 429 (Too Many Requests) or 503 (Service Unavailable)
|
- "* System throttling due to 429 (Too Many Requests) or 503 (Service Unavailable)
|
||||||
responses from the worker, high error rates, or to smooth sudden large traffic
|
responses from the worker, high error rates, or to smooth sudden large traffic
|
||||||
spikes."
|
spikes."
|
||||||
|
@ -97,7 +98,7 @@ options:
|
||||||
- The maximum rate at which tasks are dispatched from this queue.
|
- The maximum rate at which tasks are dispatched from this queue.
|
||||||
- If unspecified when the queue is created, Cloud Tasks will pick the default.
|
- If unspecified when the queue is created, Cloud Tasks will pick the default.
|
||||||
required: false
|
required: false
|
||||||
type: int
|
type: str
|
||||||
max_concurrent_dispatches:
|
max_concurrent_dispatches:
|
||||||
description:
|
description:
|
||||||
- The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched
|
- The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched
|
||||||
|
@ -253,9 +254,9 @@ appEngineRoutingOverride:
|
||||||
type: str
|
type: str
|
||||||
rateLimits:
|
rateLimits:
|
||||||
description:
|
description:
|
||||||
- 'Rate limits for task dispatches. The queue''s actual dispatch rate is the result
|
- Rate limits for task dispatches.
|
||||||
of: * Number of tasks in the queue * User-specified throttling: rateLimits, retryConfig,
|
- 'The queue''s actual dispatch rate is the result of: * Number of tasks in the
|
||||||
and the queue''s state.'
|
queue * User-specified throttling: rateLimits, retryConfig, and the queue''s state.'
|
||||||
- "* System throttling due to 429 (Too Many Requests) or 503 (Service Unavailable)
|
- "* System throttling due to 429 (Too Many Requests) or 503 (Service Unavailable)
|
||||||
responses from the worker, high error rates, or to smooth sudden large traffic
|
responses from the worker, high error rates, or to smooth sudden large traffic
|
||||||
spikes."
|
spikes."
|
||||||
|
@ -267,7 +268,7 @@ rateLimits:
|
||||||
- The maximum rate at which tasks are dispatched from this queue.
|
- The maximum rate at which tasks are dispatched from this queue.
|
||||||
- If unspecified when the queue is created, Cloud Tasks will pick the default.
|
- If unspecified when the queue is created, Cloud Tasks will pick the default.
|
||||||
returned: success
|
returned: success
|
||||||
type: int
|
type: str
|
||||||
maxConcurrentDispatches:
|
maxConcurrentDispatches:
|
||||||
description:
|
description:
|
||||||
- The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched
|
- The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched
|
||||||
|
@ -375,7 +376,7 @@ def main():
|
||||||
state=dict(default='present', choices=['present', 'absent'], type='str'),
|
state=dict(default='present', choices=['present', 'absent'], type='str'),
|
||||||
name=dict(type='str'),
|
name=dict(type='str'),
|
||||||
app_engine_routing_override=dict(type='dict', options=dict(service=dict(type='str'), version=dict(type='str'), instance=dict(type='str'))),
|
app_engine_routing_override=dict(type='dict', options=dict(service=dict(type='str'), version=dict(type='str'), instance=dict(type='str'))),
|
||||||
rate_limits=dict(type='dict', options=dict(max_dispatches_per_second=dict(type='int'), max_concurrent_dispatches=dict(type='int'))),
|
rate_limits=dict(type='dict', options=dict(max_dispatches_per_second=dict(type='str'), max_concurrent_dispatches=dict(type='int'))),
|
||||||
retry_config=dict(
|
retry_config=dict(
|
||||||
type='dict',
|
type='dict',
|
||||||
options=dict(
|
options=dict(
|
||||||
|
|
|
@ -150,9 +150,10 @@ resources:
|
||||||
type: str
|
type: str
|
||||||
rateLimits:
|
rateLimits:
|
||||||
description:
|
description:
|
||||||
- 'Rate limits for task dispatches. The queue''s actual dispatch rate is the
|
- Rate limits for task dispatches.
|
||||||
result of: * Number of tasks in the queue * User-specified throttling: rateLimits,
|
- 'The queue''s actual dispatch rate is the result of: * Number of tasks in
|
||||||
retryConfig, and the queue''s state.'
|
the queue * User-specified throttling: rateLimits, retryConfig, and the queue''s
|
||||||
|
state.'
|
||||||
- "* System throttling due to 429 (Too Many Requests) or 503 (Service Unavailable)
|
- "* System throttling due to 429 (Too Many Requests) or 503 (Service Unavailable)
|
||||||
responses from the worker, high error rates, or to smooth sudden large traffic
|
responses from the worker, high error rates, or to smooth sudden large traffic
|
||||||
spikes."
|
spikes."
|
||||||
|
@ -164,7 +165,7 @@ resources:
|
||||||
- The maximum rate at which tasks are dispatched from this queue.
|
- The maximum rate at which tasks are dispatched from this queue.
|
||||||
- If unspecified when the queue is created, Cloud Tasks will pick the default.
|
- If unspecified when the queue is created, Cloud Tasks will pick the default.
|
||||||
returned: success
|
returned: success
|
||||||
type: int
|
type: str
|
||||||
maxConcurrentDispatches:
|
maxConcurrentDispatches:
|
||||||
description:
|
description:
|
||||||
- The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched
|
- The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched
|
||||||
|
|
Loading…
Add table
Reference in a new issue