Description

Configuration of io.helidon.common.concurrency.limits.AimdLimit.

Usages

Configuration options

KeyKindTypeDefault ValueDescription
backoff-ratioVALUEDouble0.9Backoff ratio to use for the algorithm
enable-metricsVALUEBooleanfalseWhether to collect metrics for the AIMD implementation
fairVALUEBooleanfalseWhether the java.util.concurrent.Semaphore should be java.util.concurrent.Semaphore#isFair()
initial-limitVALUEInteger20Initial limit
max-limitVALUEInteger200Maximal limit
min-limitVALUEInteger20Minimal limit
queue-lengthVALUEInteger0How many requests can be enqueued waiting for a permit after the max limit is reached
queue-timeoutVALUEDurationPT1SHow long to wait for a permit when enqueued
timeoutVALUEDurationPT5STimeout that when exceeded is the same as if the task failed

See the manifest for all available types.