io.helidon.common.concurrency.limits.FixedLimit
Description
Configuration of FixedLimit
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
queue-timeout | Duration | PT1S | How long to wait for a permit when enqueued |
permits | Integer | 0 | Number of permit to allow |
enable-metrics | Boolean | false | Whether to collect metrics for the fixed limit implementation |
fair | Boolean | false | Whether the java.util.concurrent.Semaphore should be java.util.concurrent.Semaphore#isFair() |
queue-length | Integer | 0 | How many requests can be enqueued waiting for a permit |
Usages
server.concurrency-limit.fixedserver.features.limits.concurrency-limit.fixedserver.sockets.concurrency-limit.fixed
See the manifest for all available types.