Create a new ConcurrentLimitLayer with specified permits.
This permits will be applied to all operations.
permits - The maximum number of concurrent operations allowed.Build the layer.
Returns an External<Layer> that can be used with Operator.layer().
Concurrent limit layer
Add concurrent request limit.
Notes
Users can control how many concurrent connections could be established between OpenDAL and underlying storage services.
All operators wrapped by this layer will share a common semaphore.
Examples
With HTTP concurrent limit: