- FixedLimit (common.concurrency.limits) Configuration
Type: io.helidon.common.concurrency.limits.FixedLimit
Config keyfixedcontent_copyThis type provides the following service implementations:
io.helidon.common.concurrency.limits.spi.LimitProvider
Configuration options
| key | type | default value | description |
|---|---|---|---|
enable-metrics | boolean | false | Whether to collect metrics for the AIMD implementation. |
fair | boolean | false | Whether the java.util.concurrent.Semaphore should be java.util.concurrent.Semaphore.isFair(). Defaults to |
permits | int | 0 | Number of permit to allow. Defaults to |
queue-length | int | 0 | How many requests can be enqueued waiting for a permit. Note that this may not be an exact behavior due to concurrent invocations. We use java.util.concurrent.Semaphore.getQueueLength() in the io.helidon.common.concurrency.limits.FixedLimit implementation. Default value is |
queue-timeout | Duration | PT1S | How long to wait for a permit when enqueued. Defaults to |