rateLimits

@JvmName(name = "qepwyospbmnibqpc")
suspend fun rateLimits(value: Output<QueueRateLimitsArgs>)
@JvmName(name = "cuoihadrmqttinfx")
suspend fun rateLimits(value: QueueRateLimitsArgs?)

Parameters

value

Rate limits for task dispatches. The queue's actual dispatch rate is the result of:

  • Number of tasks in the queue

  • User-specified throttling: rateLimits, retryConfig, and the queue's state.

  • 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 spikes. Structure is documented below.


@JvmName(name = "scwxbaqmxmkdnfxv")
suspend fun rateLimits(argument: suspend QueueRateLimitsArgsBuilder.() -> Unit)

Parameters

argument

Rate limits for task dispatches. The queue's actual dispatch rate is the result of:

  • Number of tasks in the queue

  • User-specified throttling: rateLimits, retryConfig, and the queue's state.

  • 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 spikes. Structure is documented below.